[dovecot-cvs] dovecot/src/login-common master.c,1.3,1.4
cras at procontrol.fi
cras at procontrol.fi
Tue Feb 11 18:53:16 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/lib istream-mmap.c,1.3,1.4 ostream-file.c,1.8,1.9 sendfile-util.c,1.4,1.5 sendfile-util.h,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/pop3-login client.c,1.7,1.8 client.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/login-common
In directory danu:/tmp/cvs-serv2966/login-common
Modified Files:
master.c
Log Message:
Die cleanly when master tells us so.
Index: master.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/master.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- master.c 8 Feb 2003 14:16:11 -0000 1.3
+++ master.c 11 Feb 2003 16:53:14 -0000 1.4
@@ -70,8 +70,6 @@
if (io_master == NULL)
return;
- clients_destroy_all();
-
if (close(LOGIN_MASTER_SOCKET_FD) < 0)
i_fatal("close(master) failed: %m");
@@ -80,6 +78,9 @@
main_close_listen();
main_unref();
+
+ /* may call this function again through main_unref() */
+ clients_destroy_all();
}
static void master_input(void *context __attr_unused__)
- Previous message: [dovecot-cvs] dovecot/src/lib istream-mmap.c,1.3,1.4 ostream-file.c,1.8,1.9 sendfile-util.c,1.4,1.5 sendfile-util.h,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/pop3-login client.c,1.7,1.8 client.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list