Skip to content

Commit

Permalink
#174: master-2.3 build fix: delete_cmd_context->cmd ==NULL => bad.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrse committed Jul 15, 2018
1 parent 29086c8 commit ab7b20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage-rbox/doveadm-rbox-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ static int cmd_mailbox_delete_run(struct doveadm_mail_cmd_context *_ctx, struct
ns = mail_namespace_find(user->namespaces, name);
box = mailbox_alloc(ns->list, name, mailbox_flags);
#if DOVECOT_PREREQ(2, 3)
mailbox_set_reason(box, _ctx->cmd->name);
mailbox_set_reason(box, "doveadm rmb mailbox delete");
struct mail_storage *storage = mailbox_get_storage(box);
#endif
ret2 = ctx->require_empty ? mailbox_delete_empty(box) : mailbox_delete(box);
Expand Down

0 comments on commit ab7b20e

Please sign in to comment.