dovecot: Header lookups from cache returned always "doesn't exist".

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 12 03:21:47 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/ab487f1de905
changeset: 5945:ab487f1de905
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 12 02:23:59 2007 +0300
description:
Header lookups from cache returned always "doesn't exist".

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-index/mail-cache-lookup.c |    4 ++--

diffs (15 lines):

diff -r 760f910004d9 -r ab487f1de905 src/lib-index/mail-cache-lookup.c
--- 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 @@ int mail_cache_lookup_headers(struct mai
 		}
 
 	}
-	if (ret <= 0) {
+	if (ret < 0) {
 		t_pop();
-		return ret;
+		return -1;
 	}
 
 	/* check that all fields were found */


More information about the dovecot-cvs mailing list