[dovecot-cvs] dovecot/src/imap client.c,1.67.2.2,1.67.2.3

tss at dovecot.org tss at dovecot.org
Sun Nov 12 11:32:42 UTC 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv12676

Modified Files:
      Tag: branch_1_0
	client.c 
Log Message:
Don't crash if client disconnected while IDLEing.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.67.2.2
retrieving revision 1.67.2.3
diff -u -d -r1.67.2.2 -r1.67.2.3
--- client.c	7 Nov 2006 19:37:03 -0000	1.67.2.2
+++ client.c	12 Nov 2006 11:32:40 -0000	1.67.2.3
@@ -68,6 +68,7 @@
 	client->destroyed = TRUE;
 
 	if (!client->disconnected) {
+		client->disconnected = TRUE;
 		if (reason == NULL)
 			reason = "Disconnected";
 		i_info("%s", reason);



More information about the dovecot-cvs mailing list