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

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 9 19:39:39 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/5835adeb6359
changeset: 7871:5835adeb6359
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 09 19:39:29 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 e3c5acf92b53 -r 5835adeb6359 src/lib-index/mail-cache.c
--- a/src/lib-index/mail-cache.c	Tue Sep 09 18:34:44 2008 +0300
+++ b/src/lib-index/mail-cache.c	Tue Sep 09 19:39:29 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