From: Michael Hampton Date: Sun, 25 Jul 2004 16:16:19 +0000 (+0000) Subject: * citadel_decls.h: fixed the new logoff() macro X-Git-Tag: v7.86~5335 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=105e36e72f24497143586edf7eca438efb736269;p=citadel.git * citadel_decls.h: fixed the new logoff() macro --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index cf423251a..44e86039b 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 623.7 2004/07/25 16:16:19 error + * citadel_decls.h: fixed the new logoff() macro + Revision 623.6 2004/07/24 05:11:52 ajc * citadel.c: temporarily commented out the signal() call for SIGHUP because it is causing the client not to work at all on Linux 2.6 (or at least on @@ -5929,4 +5932,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/citadel_decls.h b/citadel/citadel_decls.h index 26ffd01d3..9a50aabc9 100644 --- a/citadel/citadel_decls.h +++ b/citadel/citadel_decls.h @@ -27,7 +27,7 @@ extern char rc_alt_semantics; extern char rc_reply_extedit; extern char instant_msgs; void ctdl_logoff(char *file, int line, CtdlIPC *ipc, int code); -#define logoff(ipc, code) ctdl_logoff(__FILE__, __LINE__, ipc, code) +#define logoff(ipc, code) ctdl_logoff(__FILE__, __LINE__, (ipc), (code)) void formout(CtdlIPC *ipc, char *name); void sighandler(int which_sig); extern int secure;