[dovecot-cvs] dovecot/src/pop3 main.c,1.54,1.55
tss at dovecot.org
tss at dovecot.org
Fri Dec 15 16:55:52 UTC 2006
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv346/pop3
Modified Files:
main.c
Log Message:
Added context parameter type safety checks for most callback APIs.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- main.c 10 Dec 2006 12:35:05 -0000 1.54
+++ main.c 15 Dec 2006 16:55:50 -0000 1.55
@@ -172,8 +172,8 @@
lib_signals_init();
lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
lib_signals_set_handler(SIGTERM, TRUE, sig_die, NULL);
- lib_signals_ignore(SIGPIPE);
- lib_signals_set_handler(SIGALRM, FALSE, NULL, NULL);
+ lib_signals_ignore(SIGPIPE, TRUE);
+ lib_signals_ignore(SIGALRM, FALSE);
if (getenv("USER") == NULL)
i_fatal("USER environment missing");
More information about the dovecot-cvs
mailing list