dovecot-1.2: Mail cache file: Fix to previous locking changes.

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 9 19:40:38 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/da6fd72f8103
changeset: 8183:da6fd72f8103
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 09 19:40:30 2008 +0300
description:
Mail cache file: Fix to previous locking changes.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-cache.c |    2 +-

diffs (12 lines):

diff -r 4bfe2c1c375f -r da6fd72f8103 src/lib-index/mail-cache.c
--- a/src/lib-index/mail-cache.c	Tue Sep 09 18:34:29 2008 +0300
+++ b/src/lib-index/mail-cache.c	Tue Sep 09 19:40:30 2008 +0300
@@ -538,7 +538,7 @@ int mail_cache_lock(struct mail_cache *c
 				break;
 		}
 
-		if (mail_cache_lock_file(cache) <= 0) {
+		if ((ret = mail_cache_lock_file(cache)) <= 0) {
 			ret = -1;
 			break;
 		}


More information about the dovecot-cvs mailing list