X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=b970947704dffb401097a5ebe4d88a8624ad423a;hp=9563303fabf9e3aca1556f34180a50753ca9d16e;hb=63064b3d49037ab259b7c45479aad4d00a2eca91;hpb=dc4030458f9af07d5719cfbff0a47cd16f1847f7 diff --git a/error.h b/error.h index 9563303f..b9709477 100644 --- a/error.h +++ b/error.h @@ -97,7 +97,6 @@ extern const char **para_errlist[]; #define USER_LIST_ERRORS \ PARA_ERROR(USERLIST, "failed to open user list file"), \ - PARA_ERROR(BAD_USER, "you don't exist. Go away."), \ #define OSX_WRITE_ERRORS \ @@ -203,6 +202,7 @@ extern const char **para_errlist[]; PARA_ERROR(AUDIOD_SYNTAX, "syntax error"), \ PARA_ERROR(UCRED_PERM, "permission denied"), \ PARA_ERROR(INVALID_AUDIOD_CMD, "invalid command"), \ + PARA_ERROR(BAD_USER, "you don't exist. Go away."), \ #define FILTER_CHAIN_ERRORS \ @@ -518,7 +518,7 @@ extern const char **para_errlist[]; */ #define PARA_ERROR(err, msg) E_ ## err -#define SS_NAME(ss) para_errlist[ss]? para_errlist[ss][0] : "" +// #define SS_NAME(ss) para_errlist[ss]? para_errlist[ss][0] : "" /** \cond popcorn time */ SS_ENUM(GUI);