Skip to content

Commit

Permalink
mtree: check if pv_count var is r/w
Browse files Browse the repository at this point in the history
- reported by GH #2750
  • Loading branch information
miconda committed May 28, 2021
1 parent 316c806 commit 63b0345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/mtree/mtree_mod.c
Expand Up @@ -203,7 +203,7 @@ static int mod_init(void)
}

if(pv_parse_spec(&count_param, &pv_count) < 0
|| !(pv_is_w(&pv_weight)))
|| !(pv_is_w(&pv_count)))
{
LM_ERR("cannot parse count pv or pv is read-only\n");
return -1;
Expand Down

0 comments on commit 63b0345

Please sign in to comment.