dovecot-1.2: virtual: If opening backend mailbox fails, show the...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 7 21:57:19 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/682e09eb1e8f
changeset: 9291:682e09eb1e8f
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 07 14:57:10 2009 -0400
description:
virtual: If opening backend mailbox fails, show the maibox name.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/plugins/virtual/virtual-storage.c |    4 ++--

diffs (14 lines):

diff -r a8bd5b0b6bb9 -r 682e09eb1e8f src/plugins/virtual/virtual-storage.c
--- a/src/plugins/virtual/virtual-storage.c	Fri Aug 07 14:44:58 2009 -0400
+++ b/src/plugins/virtual/virtual-storage.c	Fri Aug 07 14:57:10 2009 -0400
@@ -226,8 +226,8 @@ static int virtual_backend_box_open(stru
 		}
 		if (storage != mbox->ibox.box.storage) {
 			/* copy the error */
-			mail_storage_set_error(mbox->ibox.box.storage,
-					       error, str);
+			mail_storage_set_error(mbox->ibox.box.storage, error,
+				t_strdup_printf("%s (%s)", str, mailbox));
 		}
 		return -1;
 	}


More information about the dovecot-cvs mailing list