dovecot-2.2: lib-index: Fixed randomly failing to write to dovec...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 28 06:44:09 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/cd93c3506efe
changeset: 15425:cd93c3506efe
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 28 06:42:40 2012 +0200
description:
lib-index: Fixed randomly failing to write to dovecot.index.cache file

diffstat:

 src/lib-index/mail-cache-transaction.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b10fbe79f619 -r cd93c3506efe src/lib-index/mail-cache-transaction.c
--- a/src/lib-index/mail-cache-transaction.c	Wed Nov 28 02:35:37 2012 +0200
+++ b/src/lib-index/mail-cache-transaction.c	Wed Nov 28 06:42:40 2012 +0200
@@ -365,7 +365,7 @@
 {
 	struct stat st;
 	uint32_t write_offset = 0;
-	int ret;
+	int ret = 0;
 
 	i_assert(!ctx->cache->locked);
 


More information about the dovecot-cvs mailing list