dovecot-2.2: lib-lda: Fixed passing through error message when m...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Sep 5 21:07:02 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/82975fb3ae44
changeset: 16712:82975fb3ae44
user: Timo Sirainen <tss at iki.fi>
date: Thu Sep 05 21:06:50 2013 +0300
description:
lib-lda: Fixed passing through error message when mailbox couldn't be opened.
diffstat:
src/lib-lda/mail-deliver.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 6ffe37152ed0 -r 82975fb3ae44 src/lib-lda/mail-deliver.c
--- a/src/lib-lda/mail-deliver.c Wed Sep 04 22:43:47 2013 +0300
+++ b/src/lib-lda/mail-deliver.c Thu Sep 05 21:06:50 2013 +0300
@@ -282,8 +282,10 @@
mailbox_name = str_sanitize(mailbox, 80);
if (mail_deliver_save_open(&open_ctx, mailbox, &box,
&error, &errstr) < 0) {
- if (box != NULL)
+ if (box != NULL) {
+ *storage_r = mailbox_get_storage(box);
mailbox_free(&box);
+ }
mail_deliver_log(ctx, "save failed to open mailbox %s: %s",
mailbox_name, errstr);
return -1;
More information about the dovecot-cvs
mailing list