dovecot-2.2: imap: If mailbox state couldn't be exported for hib...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Aug 25 20:21:39 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/5220d361871e
changeset: 19011:5220d361871e
user: Timo Sirainen <tss at iki.fi>
date: Tue Aug 25 23:20:49 2015 +0300
description:
imap: If mailbox state couldn't be exported for hibernation, log also the mailbox name.
diffstat:
src/imap/imap-client-hibernate.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r a919414e68d2 -r 5220d361871e src/imap/imap-client-hibernate.c
--- a/src/imap/imap-client-hibernate.c Tue Aug 25 23:12:51 2015 +0300
+++ b/src/imap/imap-client-hibernate.c Tue Aug 25 23:20:49 2015 +0300
@@ -191,10 +191,14 @@
ret = imap_state_export_internal(client, state, &error);
if (ret < 0) {
i_error("Couldn't hibernate imap client: "
- "Couldn't export state: %s", error);
+ "Couldn't export state: %s (mailbox=%s)", error,
+ client->mailbox == NULL ? "" :
+ mailbox_get_vname(client->mailbox));
} else if (ret == 0 && client->user->mail_debug) {
i_debug("Couldn't hibernate imap client: "
- "Couldn't export state: %s", error);
+ "Couldn't export state: %s (mailbox=%s)", error,
+ client->mailbox == NULL ? "" :
+ mailbox_get_vname(client->mailbox));
}
if (ret > 0 && client->mailbox != NULL) {
fd_notify = mailbox_watch_extract_notify_fd(client->mailbox,
More information about the dovecot-cvs
mailing list