dovecot-1.1: dbox: Minor error handling fix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 20 01:21:16 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/63863c3312d6
changeset: 8213:63863c3312d6
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Mar 19 19:20:48 2009 -0400
description:
dbox: Minor error handling fix.
Patch by Diego Liziero.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/dbox/dbox-index.c |    2 +-

diffs (12 lines):

diff -r f65aa01d3222 -r 63863c3312d6 src/lib-storage/index/dbox/dbox-index.c
--- a/src/lib-storage/index/dbox/dbox-index.c	Thu Mar 19 18:19:56 2009 -0400
+++ b/src/lib-storage/index/dbox/dbox-index.c	Thu Mar 19 19:20:48 2009 -0400
@@ -972,7 +972,7 @@ int dbox_index_append_commit(struct dbox
 
 	array_free(&ctx->files);
 	i_free(ctx);
-	return 0;
+	return ret;
 }
 
 void dbox_index_append_rollback(struct dbox_index_append_context **_ctx)


More information about the dovecot-cvs mailing list