]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
mdbox: Fix want_altpath flags/boolean mixup
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 5 Jun 2016 12:18:04 +0000 (15:18 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 5 Jun 2016 12:18:04 +0000 (15:18 +0300)
There was only a single flag, so this wasn't actually currently broken.

src/lib-storage/index/dbox-multi/mdbox-map.c

index fce5936d05d25b105280fe074895458cf5a6d8f5..5bc6548bf7c1c914bc7ead75bec7b84c9c0d349f 100644 (file)
@@ -1086,7 +1086,7 @@ int mdbox_map_append_next(struct mdbox_map_append_context *ctx,
                ret = 1;
                existing = TRUE;
        } else {
-               ret = mdbox_map_find_appendable_file(ctx, mail_size, flags,
+               ret = mdbox_map_find_appendable_file(ctx, mail_size, want_altpath,
                                                     &file_append, output_r);
                existing = FALSE;
        }