Skip to content

Commit

Permalink
ctl_cyrusdb: use mboxlist_deletemailboxlock to cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brong committed Dec 8, 2019
1 parent add65ac commit d0e18cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap/ctl_cyrusdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static int fixmbox(const mbentry_t *mbentry,

/* if MBTYPE_RESERVED, unset it & call mboxlist_delete */
if (mbentry->mbtype & MBTYPE_RESERVE) {
r = mboxlist_deletemailbox(mbentry->name, 1, NULL, NULL, NULL, 0, 0, 1, 0);
r = mboxlist_deletemailboxlock(mbentry->name, 1, NULL, NULL, NULL, 0, 0, 1, 0);
if (r) {
/* log the error */
syslog(LOG_ERR,
Expand Down

0 comments on commit d0e18cf

Please sign in to comment.