[dovecot-cvs] dovecot/src/imap cmd-append.c,1.90,1.91

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


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

Modified Files:
	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.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- cmd-append.c	16 Feb 2007 14:03:13 -0000	1.90
+++ cmd-append.c	1 Mar 2007 11:15:26 -0000	1.91
@@ -326,6 +326,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