changeset 8183:da6fd72f8103 HEAD

Mail cache file: Fix to previous locking changes.
author Timo Sirainen <tss@iki.fi>
date Tue, 09 Sep 2008 19:40:30 +0300
parents 4bfe2c1c375f
children c22b7db8c173
files src/lib-index/mail-cache.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 				break;
 		}
 
-		if (mail_cache_lock_file(cache) <= 0) {
+		if ((ret = mail_cache_lock_file(cache)) <= 0) {
 			ret = -1;
 			break;
 		}