changeset 12793:067f038ded8b

lib-storage: Failures when building thread index were hidden.
author Timo Sirainen <tss@iki.fi>
date Mon, 28 Feb 2011 16:03:40 +0200
parents 2762bb5a7481
children 946d1cd3300b
files src/lib-storage/index/index-thread.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-thread.c	Fri Feb 25 10:55:34 2011 +0200
+++ b/src/lib-storage/index/index-thread.c	Mon Feb 28 16:03:40 2011 +0200
@@ -568,7 +568,7 @@
 	tbox->ctx = ctx;
 
 	mail_thread_cache_sync_remove(tbox, ctx);
-	ret = mail_thread_index_map_build(ctx) < 0;
+	ret = mail_thread_index_map_build(ctx);
 	if (ret == 0)
 		mail_thread_cache_sync_add(tbox, ctx, search_ctx);
 	if (mailbox_search_deinit(&search_ctx) < 0)