changeset 5731:e53cd8613542 HEAD

Cache decisions weren't updated when doing header lookups.
author Timo Sirainen <tss@iki.fi>
date Thu, 14 Jun 2007 02:11:17 +0300
parents ae289a38b59a
children c341ded6a38a
files src/lib-index/mail-cache-lookup.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		}
 	}
 
+	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);