[dovecot-cvs] dovecot/src/master login-process.c, 1.73.2.10, 1.73.2.11
tss at dovecot.org
tss at dovecot.org
Fri Oct 13 21:23:14 UTC 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv1651
Modified Files:
Tag: branch_1_0
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.73.2.10
retrieving revision 1.73.2.11
diff -u -d -r1.73.2.10 -r1.73.2.11
--- login-process.c 13 Oct 2006 18:03:20 -0000 1.73.2.10
+++ login-process.c 13 Oct 2006 20:23:11 -0000 1.73.2.11
@@ -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