[dovecot-cvs] dovecot/src/imap cmd-append.c,1.80.2.4,1.80.2.5

tss at dovecot.org tss at dovecot.org
Thu Mar 1 11:15:25 UTC 2007


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

Modified Files:
      Tag: branch_1_0
	cmd-append.c 
Log Message:
Don't crash if mail saving fails.



Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.80.2.4
retrieving revision 1.80.2.5
diff -u -d -r1.80.2.4 -r1.80.2.5
--- cmd-append.c	16 Feb 2007 14:03:07 -0000	1.80.2.4
+++ cmd-append.c	1 Mar 2007 11:15:23 -0000	1.80.2.5
@@ -319,6 +319,7 @@
 				/* we still have to finish reading the message
 				   from client */
 				mailbox_save_cancel(&ctx->save_ctx);
+				break;
 			}
 			if (ret == -1 || ret == 0)
 				break;



More information about the dovecot-cvs mailing list