dovecot-2.1: imapc: Fixed "Bad file descriptor" errors after mai...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 5 17:13:33 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/f2732fa01394
changeset: 13604:f2732fa01394
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 05 17:21:46 2011 +0300
description:
imapc: Fixed "Bad file descriptor" errors after mail was closed.
diffstat:
src/lib-storage/index/imapc/imapc-mail.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r ae1f8bae28eb -r f2732fa01394 src/lib-storage/index/imapc/imapc-mail.c
--- a/src/lib-storage/index/imapc/imapc-mail.c Wed Oct 05 15:57:03 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-mail.c Wed Oct 05 17:21:46 2011 +0300
@@ -245,6 +245,7 @@
if (mail->fd != -1) {
if (close(mail->fd) < 0)
i_error("close(imapc mail) failed: %m");
+ mail->fd = -1;
}
if (mail->body != NULL)
buffer_free(&mail->body);
More information about the dovecot-cvs
mailing list