[dovecot-cvs] dovecot/src/imap client.c,1.67.2.6,1.67.2.7

tss at dovecot.org tss at dovecot.org
Fri Jan 5 18:48:54 UTC 2007


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

Modified Files:
      Tag: branch_1_0
	client.c 
Log Message:
Don't assert-crash if a command is waiting in queue after we've disconnected the client for some reason.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.67.2.6
retrieving revision 1.67.2.7
diff -u -d -r1.67.2.6 -r1.67.2.7
--- client.c	20 Dec 2006 17:32:39 -0000	1.67.2.6
+++ client.c	5 Jan 2007 18:48:52 -0000	1.67.2.7
@@ -427,7 +427,7 @@
 		t_push();
 		ret = client_handle_input(cmd);
 		t_pop();
-	} while (ret);
+	} while (ret && !client->disconnected);
 	o_stream_uncork(client->output);
 
 	if (client->command_pending)



More information about the dovecot-cvs mailing list