dovecot: APPEND {0+} didn't eat the finishing CRLF.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 26 15:44:29 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/3d14f363f921
changeset: 5801:3d14f363f921
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 26 15:44:21 2007 +0300
description:
APPEND {0+} didn't eat the finishing CRLF.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/imap/cmd-append.c |    3 +--

diffs (13 lines):

diff -r c192277a81b3 -r 3d14f363f921 src/imap/cmd-append.c
--- a/src/imap/cmd-append.c	Mon Jun 25 19:24:53 2007 +0300
+++ b/src/imap/cmd-append.c	Tue Jun 26 15:44:21 2007 +0300
@@ -316,8 +316,7 @@ static bool cmd_append_continue_parsing(
 	if (ctx->msg_size == 0) {
 		/* no message data, abort */
 		client_send_tagline(cmd, "NO Append aborted.");
-		cmd_append_finish(ctx);
-		return TRUE;
+		return cmd_append_cancel(ctx, nonsync);
 	}
 
 	/* save the mail */


More information about the dovecot-cvs mailing list