dovecot-2.0: single-dbox: Also some error handling fixing.

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 1 18:31:40 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/220e7b0f03c2
changeset: 11674:220e7b0f03c2
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 01 16:31:37 2010 +0100
description:
single-dbox: Also some error handling fixing.

diffstat:

 src/lib-storage/index/dbox-single/sdbox-save.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 7bd8464ef333 -r 220e7b0f03c2 src/lib-storage/index/dbox-single/sdbox-save.c
--- a/src/lib-storage/index/dbox-single/sdbox-save.c	Thu Jul 01 16:30:53 2010 +0100
+++ b/src/lib-storage/index/dbox-single/sdbox-save.c	Thu Jul 01 16:31:37 2010 +0100
@@ -60,6 +60,8 @@
 		/* 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;
 	}
 


More information about the dovecot-cvs mailing list