[dovecot-cvs] dovecot/src/lib-index mail-cache-lookup.c,1.15,1.16

cras at dovecot.org cras at dovecot.org
Tue Jul 20 20:06:10 EEST 2004


Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv22638

Modified Files:
	mail-cache-lookup.c 
Log Message:
mail_cache_lookup_headers() fix



Index: mail-cache-lookup.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-cache-lookup.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- mail-cache-lookup.c	20 Jul 2004 16:50:56 -0000	1.15
+++ mail-cache-lookup.c	20 Jul 2004 17:06:08 -0000	1.16
@@ -386,7 +386,7 @@
 	}
 
 	/* check that all fields were found */
-	for (i = 0; i < ctx.max_field; i++) {
+	for (i = 0; i <= ctx.max_field; i++) {
 		if (ctx.fields_found[i] == 1) {
 			t_pop();
 			return 0;



More information about the dovecot-cvs mailing list