[dovecot-cvs] dovecot/src/imap cmd-append.c,1.64,1.65
cras at dovecot.org
cras at dovecot.org
Sun Sep 18 19:58:05 EEST 2005
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv8039
Modified Files:
cmd-append.c
Log Message:
If client input was closed unexpectedly, don't treat it as index error.
Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- cmd-append.c 28 Jun 2005 11:15:57 -0000 1.64
+++ cmd-append.c 18 Sep 2005 16:58:01 -0000 1.65
@@ -292,8 +292,7 @@
int failed;
if (ctx->save_ctx != NULL) {
- if (mailbox_save_continue(ctx->save_ctx) < 0 ||
- client->input->closed) {
+ if (mailbox_save_continue(ctx->save_ctx) < 0) {
/* we still have to finish reading the message
from client */
mailbox_save_cancel(ctx->save_ctx);
More information about the dovecot-cvs
mailing list