[dovecot-cvs] dovecot/src/imap client.c,1.11,1.12

cras at procontrol.fi cras at procontrol.fi
Sat Nov 30 17:40:20 EET 2002


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv8836/imap

Modified Files:
	client.c 
Log Message:
Input parsing was a bit broken in some conditions. Mostly visible with
APPEND (_finally_, that should be the last weird bug I've noticed).



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- client.c	25 Nov 2002 19:02:49 -0000	1.11
+++ client.c	30 Nov 2002 15:40:18 -0000	1.12
@@ -249,8 +249,8 @@
 {
         if (client->cmd_func != NULL) {
 		/* command is being executed - continue it */
-		if (client->cmd_func(client)) {
-			/* command is finished */
+		if (client->cmd_func(client) || client->cmd_error) {
+			/* command execution was finished */
 			client_command_finished(client);
 			return TRUE;
 		}




More information about the dovecot-cvs mailing list