[dovecot-cvs] dovecot/src/imap cmd-append.c,1.80.2.10,1.80.2.11

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


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

Modified Files:
      Tag: branch_1_0
	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.80.2.10
retrieving revision 1.80.2.11
diff -u -d -r1.80.2.10 -r1.80.2.11
--- cmd-append.c	13 Mar 2007 15:55:11 -0000	1.80.2.10
+++ cmd-append.c	15 Mar 2007 13:48:44 -0000	1.80.2.11
@@ -50,12 +50,12 @@
 		client_destroy(client, "Disconnected in APPEND");
 		return;
 	case -2:
-		cmd_append_finish(cmd->context);
 		if (cmd->func != cmd_append_continue_parsing) {
 			/* 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