[dovecot-cvs] dovecot/src/master main.c,1.94,1.95

tss at dovecot.org tss at dovecot.org
Fri Dec 15 16:55:52 UTC 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv346/master

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/master/main.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- main.c	4 Nov 2006 18:45:02 -0000	1.94
+++ main.c	15 Dec 2006 16:55:50 -0000	1.95
@@ -560,8 +560,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);
         lib_signals_set_handler(SIGHUP, TRUE, sig_reload_settings, NULL);
         lib_signals_set_handler(SIGUSR1, TRUE, sig_reopen_logs, NULL);
 



More information about the dovecot-cvs mailing list