dovecot: need_compress_file_seq=0 nowadays when file doesn't exi...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jul 14 23:19:38 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/c66c80b23f95
changeset: 5993:c66c80b23f95
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jul 14 23:19:15 2007 +0300
description:
need_compress_file_seq=0 nowadays when file doesn't exist, not -1.

diffstat:

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

diffs (12 lines):

diff -r ac382879b116 -r c66c80b23f95 src/lib-index/mail-cache-compress.c
--- a/src/lib-index/mail-cache-compress.c	Sat Jul 14 23:16:20 2007 +0300
+++ b/src/lib-index/mail-cache-compress.c	Sat Jul 14 23:19:15 2007 +0300
@@ -264,7 +264,7 @@ static int mail_cache_compress_has_file_
 		if (ret >= 0) {
 			if (ret == 0)
 				return 0;
-			if (cache->need_compress_file_seq == (uint32_t)-1) {
+			if (cache->need_compress_file_seq == 0) {
 				/* previously it didn't exist */
 				return 1;
 			}


More information about the dovecot-cvs mailing list