[dovecot-cvs] dovecot/src/login master.c,1.5,1.6
cras at procontrol.fi
cras at procontrol.fi
Wed Nov 20 22:01:28 EET 2002
Update of /home/cvs/dovecot/src/login
In directory danu:/tmp/cvs-serv17383
Modified Files:
master.c
Log Message:
bugfix
Index: master.c
===================================================================
RCS file: /home/cvs/dovecot/src/login/master.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- master.c 20 Nov 2002 19:45:32 -0000 1.5
+++ master.c 20 Nov 2002 20:01:26 -0000 1.6
@@ -106,9 +106,13 @@
void master_close(void)
{
+ if (io_master == NULL)
+ return;
+
clients_destroy_all();
(void)close(LOGIN_MASTER_SOCKET_FD);
+
io_remove(io_master);
io_master = NULL;
More information about the dovecot-cvs
mailing list