[dovecot-cvs] dovecot/src/imap cmd-append.c,1.95,1.96

tss at dovecot.org tss at dovecot.org
Thu Mar 15 15:48:49 EET 2007


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

Modified Files:
	cmd-append.c 
Log Message:
Crashfix



Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- cmd-append.c	13 Mar 2007 15:55:14 -0000	1.95
+++ cmd-append.c	15 Mar 2007 13:48:47 -0000	1.96
@@ -53,12 +53,12 @@
 		client_destroy(client, "Disconnected in APPEND");
 		return;
 	case -2:
-		cmd_append_finish(cmd->context);
 		if (ctx->message_input) {
 			/* message data, this is handled internally by
 			   mailbox_save_continue() */
 			break;
 		}
+		cmd_append_finish(cmd->context);
 
 		/* parameter word is longer than max. input buffer size.
 		   this is most likely an error, so skip the new data



More information about the dovecot-cvs mailing list