[dovecot-cvs] dovecot/src/lib-index mail-cache.c,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Sun Oct 26 19:20:02 EET 2003


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv20354

Modified Files:
	mail-cache.c 
Log Message:
missing t_pop()


Index: mail-cache.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-cache.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mail-cache.c	21 Oct 2003 11:10:05 -0000	1.20
+++ mail-cache.c	26 Oct 2003 17:19:59 -0000	1.21
@@ -1376,8 +1376,10 @@
 	header_str = write_header_string(headers, &size);
 	if (idx != 0) {
 		prev_str = mail_cache_get_header_fields_str(cache, idx-1);
-		if (prev_str == NULL)
+		if (prev_str == NULL) {
+			t_pop();
 			return FALSE;
+		}
 
 		i_assert(strcmp(header_str, prev_str) != 0);
 	}



More information about the dovecot-cvs mailing list