[dovecot-cvs] dovecot/src/imap cmd-append.c,1.80.2.8,1.80.2.9
tss at dovecot.org
tss at dovecot.org
Tue Mar 13 17:42:22 EET 2007
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv24029
Modified Files:
Tag: branch_1_0
cmd-append.c
Log Message:
Error handling fix
Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.80.2.8
retrieving revision 1.80.2.9
diff -u -d -r1.80.2.8 -r1.80.2.9
--- cmd-append.c 11 Mar 2007 17:38:05 -0000 1.80.2.8
+++ cmd-append.c 13 Mar 2007 15:42:20 -0000 1.80.2.9
@@ -51,7 +51,7 @@
return;
case -2:
cmd_append_finish(cmd->context);
- if (client->command_pending) {
+ if (cmd->func != cmd_append_continue_parsing) {
/* message data, this is handled internally by
mailbox_save_continue() */
break;
@@ -162,7 +162,6 @@
i_stream_unref(&ctx->input);
ctx->input = NULL;
- cmd->client->command_pending = FALSE;
imap_parser_reset(ctx->save_parser);
cmd->func = cmd_append_continue_parsing;
return cmd_append_continue_parsing(cmd);
@@ -376,7 +375,6 @@
}
/* prepare for next message */
- client->command_pending = FALSE;
imap_parser_reset(ctx->save_parser);
cmd->func = cmd_append_continue_parsing;
return cmd_append_continue_parsing(cmd);
More information about the dovecot-cvs
mailing list