[dovecot-cvs] dovecot/src/imap cmd-idle.c,1.30.2.5,1.30.2.6

tss at dovecot.org tss at dovecot.org
Mon Mar 19 15:43:31 EET 2007


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

Modified Files:
      Tag: branch_1_0
	cmd-idle.c 
Log Message:
Assert-crashfix



Index: cmd-idle.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-idle.c,v
retrieving revision 1.30.2.5
retrieving revision 1.30.2.6
diff -u -d -r1.30.2.5 -r1.30.2.6
--- cmd-idle.c	20 Dec 2006 16:38:23 -0000	1.30.2.5
+++ cmd-idle.c	19 Mar 2007 13:43:29 -0000	1.30.2.6
@@ -67,7 +67,7 @@
 	_client_reset_command(client);
 
 	/* we may have read something else besides "DONE" into the buffer */
-	if (client->input_pending)
+	if (client->input_pending && !client->handling_input)
 		_client_input(client);
 }
 



More information about the dovecot-cvs mailing list