dovecot-2.2: virtual: Include mailbox name in "Backend mailbox a...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 9 12:49:52 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/a2824031f6a8
changeset: 19348:a2824031f6a8
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 09 14:49:26 2015 +0200
description:
virtual: Include mailbox name in "Backend mailbox added by another session." error.

diffstat:

 src/plugins/virtual/virtual-sync.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 61eb9ac0d29e -r a2824031f6a8 src/plugins/virtual/virtual-sync.c
--- a/src/plugins/virtual/virtual-sync.c	Mon Nov 09 14:11:12 2015 +0200
+++ b/src/plugins/virtual/virtual-sync.c	Mon Nov 09 14:49:26 2015 +0200
@@ -134,9 +134,9 @@
 	/* another process just added a new mailbox.
 	   we can't handle this currently. */
 	mbox->inconsistent = TRUE;
-	mail_storage_set_error(mbox->box.storage, MAIL_ERROR_TEMP,
-		"Backend mailbox added by another session. "
-		"Reopen the virtual mailbox.");
+	mail_storage_set_error(mbox->box.storage, MAIL_ERROR_TEMP, t_strdup_printf(
+		"Backend mailbox '%s' added by another session. "
+		"Reopen the virtual mailbox.", name));
 	return -1;
 }
 


More information about the dovecot-cvs mailing list