dovecot-1.0: Cache decisions weren't updated when doing header l...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 14 02:11:22 EEST 2007


details:   http://hg.dovecot.org/dovecot-1.0/rev/60d840dc718e
changeset: 5310:60d840dc718e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 14 02:11:16 2007 +0300
description:
Cache decisions weren't updated when doing header lookups.

diffstat:

1 file changed, 3 insertions(+)
src/lib-index/mail-cache-lookup.c |    3 +++

diffs (13 lines):

diff -r 114882d75665 -r 60d840dc718e src/lib-index/mail-cache-lookup.c
--- a/src/lib-index/mail-cache-lookup.c	Thu Jun 14 01:43:33 2007 +0300
+++ b/src/lib-index/mail-cache-lookup.c	Thu Jun 14 02:11:16 2007 +0300
@@ -485,6 +485,9 @@ int mail_cache_lookup_headers(struct mai
 		}
 	}
 
+	for (i = 0; i < fields_count; i++)
+		mail_cache_decision_lookup(view, seq, fields[i]);
+
 	data = buffer_get_modifyable_data(ctx.data, &size);
 	size /= sizeof(*data);
 	qsort(data, size, sizeof(*data), header_lookup_data_cmp);


More information about the dovecot-cvs mailing list