[dovecot-cvs] dovecot/src/master main.c,1.55,1.56
cras at dovecot.org
cras at dovecot.org
Sat Nov 6 22:23:03 EET 2004
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv8987/master
Modified Files:
main.c
Log Message:
Changed lib_signal_hup to lib_signal_hup_count.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/main.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- main.c 2 Sep 2004 17:03:35 -0000 1.55
+++ main.c 6 Nov 2004 20:23:01 -0000 1.56
@@ -33,6 +33,7 @@
static const char *configfile = SYSCONFDIR "/" PACKAGE ".conf";
static struct timeout *to;
+static unsigned int settings_reload_hup_count = 0;
struct ioloop *ioloop;
struct hash_table *pids;
@@ -136,9 +137,9 @@
pid_t pid;
int status, process_type;
- if (lib_signal_hup != 0) {
+ if (lib_signal_hup_count != settings_reload_hup_count) {
+ settings_reload_hup_count = lib_signal_hup_count;
settings_reload();
- lib_signal_hup = 0;
}
while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
More information about the dovecot-cvs
mailing list