dovecot: Cache decisions weren't updated when doing header lookups.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 14 02:12:32 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/e53cd8613542
changeset: 5731:e53cd8613542
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 14 02:11:17 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 ae289a38b59a -r e53cd8613542 src/lib-index/mail-cache-lookup.c
--- a/src/lib-index/mail-cache-lookup.c Thu Jun 14 01:43:50 2007 +0300
+++ b/src/lib-index/mail-cache-lookup.c Thu Jun 14 02:11:17 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_modifiable_data(ctx.data, &size);
size /= sizeof(*data);
qsort(data, size, sizeof(*data), header_lookup_data_cmp);
More information about the dovecot-cvs
mailing list