1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

Revert "we usually do it like this, but maybe we should do it like you say?"

This reverts commit c0ec7c3e21.
This commit is contained in:
tg(x) 2012-02-06 15:07:27 +01:00
parent 5163c1a1a7
commit a2e54dfdd0
2 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@ typedef enum {
PSYC_MC_ECHO_HELLO,
PSYC_MC_ERROR,
PSYC_MC_FAILURE,
PSYC_MC_FAILURE_UNKNOWN_ALIAS,
PSYC_MC_FAILURE_UNAVAILABLE_ALIAS,
PSYC_MC_FAILURE_ALIAS_NONEXISTANT,
PSYC_MC_FAILURE_ALIAS_UNAVAILABLE,
PSYC_MC_INFO,
PSYC_MC_MESSAGE,
PSYC_MC_MESSAGE_ACTION,

View file

@ -55,8 +55,8 @@ const PsycMapInt psyc_methods[] = {
{ PSYC_C2STRI("_echo_context_leave"), PSYC_MC_ECHO_CONTEXT_LEAVE },
{ PSYC_C2STRI("_echo_hello"), PSYC_MC_ECHO_HELLO },
{ PSYC_C2STRI("_echo"), PSYC_MC_ECHO },
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_UNKNOWN_ALIAS },
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_UNAVAILABLE_ALIAS },
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_ALIAS_NONEXISTANT },
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_ALIAS_UNAVAILABLE },
{ PSYC_C2STRI("_failure"), PSYC_MC_FAILURE },
{ PSYC_C2STRI("_info"), PSYC_MC_INFO },
{ PSYC_C2STRI("_message_action"), PSYC_MC_MESSAGE_ACTION },
@ -109,8 +109,8 @@ psyc_method (char *method, size_t methodlen, PsycMethod *family, unsigned int *f
| PSYC_METHOD_LOGGABLE;
break;
case PSYC_MC_FAILURE:
case PSYC_MC_FAILURE_UNKNOWN_ALIAS:
case PSYC_MC_FAILURE_UNAVAILABLE_ALIAS:
case PSYC_MC_FAILURE_ALIAS_NONEXISTANT:
case PSYC_MC_FAILURE_ALIAS_UNAVAILABLE:
*family = PSYC_MC_FAILURE;
*flag = PSYC_METHOD_TEMPLATE | PSYC_METHOD_REPLY | PSYC_METHOD_VISIBLE
| PSYC_METHOD_LOGGABLE;