aboutsummaryrefslogtreecommitdiff
path: root/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch')
-rw-r--r--pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch b/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch
new file mode 100644
index 0000000..0060fb4
--- /dev/null
+++ b/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch
@@ -0,0 +1,12 @@
1diff --git a/src/deleted-to-trash-plugin.c b/src/deleted-to-trash-plugin.c
2index bb4cc78..66bad53 100644
3--- a/src/deleted-to-trash-plugin.c
4+++ b/src/deleted-to-trash-plugin.c
5@@ -82,6 +82,7 @@ static struct mailbox *mailbox_open_or_create(struct mailbox_list *list, const c
6 *error_r = mail_storage_get_last_error(mailbox_get_storage(box), &error);
7 if (error != MAIL_ERROR_NOTFOUND)
8 {
9+ i_error("%s", *error_r);
10 mailbox_free(&box);
11 return NULL;
12 }