changeset 1840:cbe06afc6455 HEAD

missing t_pop()
author Timo Sirainen <tss@iki.fi>
date Sun, 26 Oct 2003 19:19:59 +0200
parents 364b1e992154
children 31e628d88253
files src/lib-index/mail-cache.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-cache.c	Sun Oct 26 09:27:51 2003 +0200
+++ b/src/lib-index/mail-cache.c	Sun Oct 26 19:19:59 2003 +0200
@@ -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);
 	}