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

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


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

diffstat:

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

diffs (13 lines):

diff -r c5cdc49d5138 -r 2d2911c23232 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:48 2009 -0400
@@ -144,7 +144,8 @@ static int virtual_backend_box_open(stru
 			return 0;
 		}
 		/* 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;
 	}
 	i_array_init(&bbox->uids, 64);


More information about the dovecot-cvs mailing list