dovecot-2.2: doveadm penalty: Fixed using -a parameter

dovecot at dovecot.org dovecot at dovecot.org
Sun May 11 19:20:07 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/2ea729128dbe
changeset: 17369:2ea729128dbe
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 11 22:19:15 2014 +0300
description:
doveadm penalty: Fixed using -a parameter

diffstat:

 src/doveadm/doveadm-penalty.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e6c96db70cfb -r 2ea729128dbe src/doveadm/doveadm-penalty.c
--- a/src/doveadm/doveadm-penalty.c	Sun May 11 22:15:08 2014 +0300
+++ b/src/doveadm/doveadm-penalty.c	Sun May 11 22:19:15 2014 +0300
@@ -106,6 +106,7 @@
 			help(&doveadm_cmd_penalty);
 		}
 	}
+	argv += optind-1;
 
 	if (argv[1] != NULL) {
 		if (net_parse_range(argv[1], &ctx.net_ip, &ctx.net_bits) == 0)


More information about the dovecot-cvs mailing list