dovecot-1.2: indexes: Crashfix to error handling.

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 10 02:17:58 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/3cebcc8a3f11
changeset: 8806:3cebcc8a3f11
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 09 20:17:52 2009 -0400
description:
indexes: Crashfix to error handling.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-index-view-sync.c |    2 +-

diffs (12 lines):

diff -r 3feb2afdd81f -r 3cebcc8a3f11 src/lib-index/mail-index-view-sync.c
--- a/src/lib-index/mail-index-view-sync.c	Thu Mar 05 17:29:37 2009 -0500
+++ b/src/lib-index/mail-index-view-sync.c	Mon Mar 09 20:17:52 2009 -0400
@@ -918,7 +918,7 @@ int mail_index_view_sync_commit(struct m
 		view->inconsistent = TRUE;
 		ret = -1;
 	}
-	if (ctx->sync_map_ctx.view != NULL)
+	if (ctx->sync_map_ctx.modseq_ctx != NULL)
 		mail_index_modseq_sync_end(&ctx->sync_map_ctx.modseq_ctx);
 
 	if (ctx->sync_new_map != NULL) {


More information about the dovecot-cvs mailing list