[dovecot-cvs] dovecot/src/master login-process.c,1.83,1.84
tss at dovecot.org
tss at dovecot.org
Fri Oct 13 21:23:16 UTC 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv1644
Modified Files:
login-process.c
Log Message:
Deinit crashfix.
Index: login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- login-process.c 13 Oct 2006 18:03:22 -0000 1.83
+++ login-process.c 13 Oct 2006 20:23:13 -0000 1.84
@@ -393,6 +393,7 @@
if (!p->initialized) {
/* initialization notify */
login_process_set_initialized(p);
+ login_process_set_initialized(p);
} else {
/* change "listening for new connections" status */
login_process_set_state(p, state);
@@ -777,7 +778,7 @@
static void login_processes_stall(void)
{
- if (logins_stalled)
+ if (logins_stalled || IS_INETD())
return;
i_error("Temporary failure in creating login processes, "
@@ -892,11 +893,11 @@
void login_processes_deinit(void)
{
+ login_processes_destroy_all(TRUE);
+ hash_destroy(processes);
+
if (to != NULL)
timeout_remove(&to);
if (io_listen != NULL)
io_remove(&io_listen);
-
- login_processes_destroy_all(TRUE);
- hash_destroy(processes);
}
More information about the dovecot-cvs
mailing list