dovecot-2.0: lib-index: Mailbox log writing was trying to write ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 14 18:17:46 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/80a080814041
changeset: 12262:80a080814041
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 14 16:17:43 2010 +0100
description:
lib-index: Mailbox log writing was trying to write to a closed log file fd.

diffstat:

 src/lib-index/mailbox-log.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f451ffa51772 -r 80a080814041 src/lib-index/mailbox-log.c
--- a/src/lib-index/mailbox-log.c	Thu Oct 14 15:59:11 2010 +0100
+++ b/src/lib-index/mailbox-log.c	Thu Oct 14 16:17:43 2010 +0100
@@ -67,6 +67,7 @@
 	if (log->fd != -1) {
 		if (close(log->fd) < 0)
 			i_error("close(%s) failed: %m", log->filepath);
+		log->fd = -1;
 	}
 }
 


More information about the dovecot-cvs mailing list