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

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


details:   http://hg.dovecot.org/dovecot-1.0/rev/ba3c6dc3126c
changeset: 5326:ba3c6dc3126c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 26 15:44:20 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 f92ea3eed616 -r ba3c6dc3126c src/imap/cmd-append.c
--- a/src/imap/cmd-append.c	Mon Jun 25 16:25:21 2007 +0300
+++ b/src/imap/cmd-append.c	Tue Jun 26 15:44:20 2007 +0300
@@ -285,8 +285,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