[dovecot-cvs] dovecot/src/imap client.c,1.74,1.75
tss at dovecot.org
tss at dovecot.org
Fri Jan 5 18:48:57 UTC 2007
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv13786
Modified Files:
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.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- client.c 20 Dec 2006 20:47:02 -0000 1.74
+++ client.c 5 Jan 2007 18:48:55 -0000 1.75
@@ -567,7 +567,7 @@
t_push();
ret = client_handle_next_command(client);
t_pop();
- } while (ret);
+ } while (ret && !client->disconnected);
client->handling_input = FALSE;
o_stream_uncork(client->output);
More information about the dovecot-cvs
mailing list