Skip to content

Commit

Permalink
doveadm: Fixed using array type parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and sirainen committed Feb 21, 2016
1 parent 9098289 commit f169d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doveadm/doveadm-cmd.c
Expand Up @@ -222,7 +222,7 @@ bool doveadm_cmd_param_array(int argc, struct doveadm_cmd_param* params, const c
{
const struct doveadm_cmd_param* param;
if ((param = doveadm_cmd_param_get(argc, params, name))==NULL) return FALSE;
if (param->type == CMD_PARAM_STR) {
if (param->type == CMD_PARAM_ARRAY) {
*value = (ARRAY_TYPE(const_string)*)&(param->value.v_array);
return TRUE;
}
Expand Down

0 comments on commit f169d42

Please sign in to comment.