Skip to content

Commit

Permalink
lazy-expunge: Open mailbox with MAILBOX_FLAG_SAVEONLY flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Apr 27, 2016
1 parent 9243e07 commit f184b31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/lazy-expunge/lazy-expunge-plugin.c
Expand Up @@ -109,7 +109,8 @@ mailbox_open_or_create(struct mailbox_list *list, struct mailbox *src_box,

name = get_dest_vname(list, src_box);

box = mailbox_alloc(list, name, MAILBOX_FLAG_NO_INDEX_FILES);
box = mailbox_alloc(list, name, MAILBOX_FLAG_NO_INDEX_FILES |
MAILBOX_FLAG_SAVEONLY);
if (mailbox_open(box) == 0) {
*error_r = NULL;
return box;
Expand Down

0 comments on commit f184b31

Please sign in to comment.