changeset 5945:ab487f1de905 HEAD

Header lookups from cache returned always "doesn't exist".
author Timo Sirainen <tss@iki.fi>
date Thu, 12 Jul 2007 02:23:59 +0300
parents 760f910004d9
children 19bc2a4b3669
files src/lib-index/mail-cache-lookup.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-cache-lookup.c	Tue Jul 10 22:30:51 2007 +0300
+++ b/src/lib-index/mail-cache-lookup.c	Thu Jul 12 02:23:59 2007 +0300
@@ -469,9 +469,9 @@
 		}
 
 	}
-	if (ret <= 0) {
+	if (ret < 0) {
 		t_pop();
-		return ret;
+		return -1;
 	}
 
 	/* check that all fields were found */