]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm-mail-index: Use integer parameter type
authorAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 29 Feb 2016 07:35:03 +0000 (09:35 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 29 Feb 2016 10:18:36 +0000 (12:18 +0200)
src/doveadm/doveadm-mail-index.c

index b0e1207a819e3b16abe881069ff19ad8a21cc43d..1667e1227038c28fe2ec65d96eb906bc33664c96 100644 (file)
@@ -281,7 +281,7 @@ struct doveadm_cmd_ver2 doveadm_cmd_index_ver2 = {
 DOVEADM_CMD_PARAMS_START
 DOVEADM_CMD_MAIL_COMMON
 DOVEADM_CMD_PARAM('q',"queue",CMD_PARAM_BOOL,0)
-DOVEADM_CMD_PARAM('n',"max-recent",CMD_PARAM_STR,0)
+DOVEADM_CMD_PARAM('n',"max-recent",CMD_PARAM_INT64,0)
 DOVEADM_CMD_PARAM('\0',"mailbox-mask",CMD_PARAM_STR,CMD_PARAM_FLAG_POSITIONAL)
 DOVEADM_CMD_PARAMS_END
 };