dovecot-1.2: master: Fixed restarting dict processes.

dovecot at dovecot.org dovecot at dovecot.org
Mon May 10 11:06:00 EEST 2010


details:   http://hg.dovecot.org/dovecot-1.2/rev/2cdfcca171d8
changeset: 9567:2cdfcca171d8
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 10 11:05:58 2010 +0300
description:
master: Fixed restarting dict processes.

diffstat:

 src/master/dict-process.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 34c8cdc26dd9 -r 2cdfcca171d8 src/master/dict-process.c
--- a/src/master/dict-process.c	Fri Apr 30 16:24:33 2010 +0300
+++ b/src/master/dict-process.c	Mon May 10 11:05:58 2010 +0300
@@ -213,12 +213,12 @@
 	struct dict_process *process = (struct dict_process *)_process;
 	struct dict_listener *listener = process->listener;
 
+	dict_process_deinit(process);
 	if (listener->processes == NULL && listener->fd != -1) {
 		/* last listener died, create new ones */
 		listener->io = io_add(listener->fd, IO_READ,
 				      dict_listener_input, listener);
 	}
-	dict_process_deinit(process);
 }
 
 void dict_processes_init(void)


More information about the dovecot-cvs mailing list