Skip to content

Commit

Permalink
quota: Fix infinite loop when parsing quota parameters
Browse files Browse the repository at this point in the history
Broken by previous quota changes.
  • Loading branch information
sirainen authored and villesavolainen committed Jun 14, 2017
1 parent 4ec11b4 commit d4f6524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/quota/quota.c
Expand Up @@ -1398,7 +1398,7 @@ int quota_parse_parameters(struct quota_root *root, const char **args, const cha
}
}
}
if (valid_params->param_name != NULL) {
if (valid_params->param_name == NULL) {
if (fail_on_unknown) {
*error_r = t_strdup_printf(
"Unknown parameter for backend %s: %s",
Expand Down

0 comments on commit d4f6524

Please sign in to comment.