dovecot: Previous compiler warning fix changes broke cache file ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Dec 29 07:12:59 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/cf4cee852a05
changeset: 7058:cf4cee852a05
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Dec 29 07:12:56 2007 +0200
description:
Previous compiler warning fix changes broke cache file reading.

diffstat:

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

diffs (12 lines):

diff -r 81f4c9689c18 -r cf4cee852a05 src/lib-index/mail-cache-fields.c
--- a/src/lib-index/mail-cache-fields.c	Sat Dec 29 07:11:12 2007 +0200
+++ b/src/lib-index/mail-cache-fields.c	Sat Dec 29 07:12:56 2007 +0200
@@ -361,7 +361,7 @@ int mail_cache_header_fields_read(struct
 		cache->fields[fidx].used = TRUE;
 
 		cache->field_file_map[fidx] = i;
-		cache->file_field_map[i] = field.idx;
+		cache->file_field_map[i] = fidx;
 
 		/* update last_used if it's newer than ours */
 		if (last_used[i] > cache->fields[fidx].last_used)


More information about the dovecot-cvs mailing list