dovecot-2.1: doveadm mailbox delete: -s parameter wasn't working.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 4 03:47:59 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/411344f9daf3
changeset: 14375:411344f9daf3
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 04 03:47:52 2012 +0300
description:
doveadm mailbox delete: -s parameter wasn't working.
diffstat:
src/doveadm/doveadm-mail-mailbox.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 47526bf86c57 -r 411344f9daf3 src/doveadm/doveadm-mail-mailbox.c
--- a/src/doveadm/doveadm-mail-mailbox.c Wed Apr 04 03:44:04 2012 +0300
+++ b/src/doveadm/doveadm-mail-mailbox.c Wed Apr 04 03:47:52 2012 +0300
@@ -371,6 +371,9 @@
case 'r':
ctx->recursive = TRUE;
break;
+ case 's':
+ ctx->ctx.subscriptions = TRUE;
+ break;
default:
return FALSE;
}
@@ -385,7 +388,7 @@
ctx->ctx.ctx.v.init = cmd_mailbox_delete_init;
ctx->ctx.ctx.v.run = cmd_mailbox_delete_run;
ctx->ctx.ctx.v.parse_arg = cmd_mailbox_delete_parse_arg;
- ctx->ctx.ctx.getopt_args = "r";
+ ctx->ctx.ctx.getopt_args = "rs";
p_array_init(&ctx->mailboxes, ctx->ctx.ctx.pool, 16);
return &ctx->ctx.ctx;
}
More information about the dovecot-cvs
mailing list