]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dbox: Compiling fix for previous maildir changes.
authorTimo Sirainen <tss@iki.fi>
Mon, 4 May 2009 21:54:19 +0000 (17:54 -0400)
committerTimo Sirainen <tss@iki.fi>
Mon, 4 May 2009 21:54:19 +0000 (17:54 -0400)
--HG--
branch : HEAD

src/lib-storage/index/dbox/dbox-sync-rebuild.c

index dacc980e5bea8b38311c57739d3af3299f414eca..63897882b03136a8547860fbefb2f6f2971a1c9e 100644 (file)
@@ -425,7 +425,8 @@ int dbox_sync_index_rebuild_singles(struct dbox_sync_rebuild_context *ctx)
        }
 
        if (ctx->maildir_sync_ctx != NULL) {
-               if (maildir_uidlist_sync_deinit(&ctx->maildir_sync_ctx) < 0)
+               if (maildir_uidlist_sync_deinit(&ctx->maildir_sync_ctx,
+                                               ret == 0) < 0)
                        ret = -1;
        }
        if (ctx->maildir_sync_keywords != NULL)