[dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.80.2.2, 1.80.2.3

tss at dovecot.org tss at dovecot.org
Fri Oct 13 16:02:47 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv16928

Modified Files:
      Tag: branch_1_0
	mail-cache.c 
Log Message:
If time_t or uoff_t size had changed, we returned -1 instead of FALSE, which
broke the check later..



Index: mail-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache.c,v
retrieving revision 1.80.2.2
retrieving revision 1.80.2.3
diff -u -d -r1.80.2.2 -r1.80.2.3
--- mail-cache.c	8 Jun 2006 18:28:05 -0000	1.80.2.2
+++ mail-cache.c	13 Oct 2006 15:02:45 -0000	1.80.2.3
@@ -138,7 +138,7 @@
 			cache->hdr_modified = TRUE;
 		} else {
 			/* architecture change - handle silently(?) */
-			return -1;
+			return FALSE;
 		}
 	}
 



More information about the dovecot-cvs mailing list