From: Timo Sirainen Date: Mon, 31 Oct 2022 20:37:34 +0000 (+0200) Subject: dsync: Revert logging a more detailed reason why mailbox was lost X-Git-Tag: 2.4.0~3465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7ddbf91a9642d243ce7ab20d4a45b6194ecbbc;p=thirdparty%2Fdovecot%2Fcore.git dsync: Revert logging a more detailed reason why mailbox was lost This code can't actually work, because the mailbox allocation is attempted in multiple namespaces. The error would just come from the last namespace, which might not have been the correct one. Reverts cdf981514af4eb8af5a459d8e68bed2cccd7f37c --- diff --git a/src/doveadm/dsync/dsync-brain-mailbox.c b/src/doveadm/dsync/dsync-brain-mailbox.c index 23f6eb0df0..a9fd3827d3 100644 --- a/src/doveadm/dsync/dsync-brain-mailbox.c +++ b/src/doveadm/dsync/dsync-brain-mailbox.c @@ -839,8 +839,8 @@ bool dsync_brain_slave_recv_mailbox(struct dsync_brain *brain) } //FIXME: verify this from log, and if not log an error. dsync_brain_set_changes_during_sync(brain, t_strdup_printf( - "Mailbox GUID %s was lost: %s", - guid_128_to_string(dsync_box->mailbox_guid), errstr)); + "Mailbox GUID %s was lost", + guid_128_to_string(dsync_box->mailbox_guid))); dsync_brain_slave_send_mailbox_lost(brain, dsync_box, FALSE); return TRUE; }