[dovecot-cvs] dovecot/src/imap cmd-append.c,1.50,1.51

cras at dovecot.org cras at dovecot.org
Mon Jan 31 20:17:28 EET 2005


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

Modified Files:
	cmd-append.c 
Log Message:
Don't crash if client disconnects in the middle of APPEND.



Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- cmd-append.c	26 Dec 2004 09:12:39 -0000	1.50
+++ cmd-append.c	31 Jan 2005 18:17:25 -0000	1.51
@@ -316,7 +316,7 @@
 			failed = TRUE;
 			client_send_storage_error(client, ctx->storage);
 		} else {
-			failed = FALSE;
+			failed = ctx->input->closed;
 		}
 		ctx->save_ctx = NULL;
 



More information about the dovecot-cvs mailing list