]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
single-dbox: Also some error handling fixing.
authorTimo Sirainen <tss@iki.fi>
Thu, 1 Jul 2010 15:31:37 +0000 (16:31 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 1 Jul 2010 15:31:37 +0000 (16:31 +0100)
--HG--
branch : HEAD

src/lib-storage/index/dbox-single/sdbox-save.c

index 491fe6267f38f98e898ff7b65b51fcb15d0442e2..46fb483cacee4f5a319942a0287a5c048c2272b5 100644 (file)
@@ -60,6 +60,8 @@ sdbox_save_alloc(struct mailbox_transaction_context *t)
                /* use the existing allocated structure */
                ctx->ctx.failed = FALSE;
                ctx->ctx.finished = FALSE;
+               ctx->ctx.cur_file = NULL;
+               ctx->ctx.dbox_output = NULL;
                return &ctx->ctx.ctx;
        }