Skip to content

Commit

Permalink
dialplan: fix null printf
Browse files Browse the repository at this point in the history
(cherry picked from commit b04d537)
  • Loading branch information
l2dy authored and liviuchircu committed Mar 12, 2020
1 parent f227973 commit c27a528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/dialplan/dialplan.c
Expand Up @@ -288,7 +288,8 @@ static int dp_create_head(str part_desc)
part_desc.len + part_desc.s - start);

if (param_value.s == 0) {
LM_ERR("[[%s]]!\n", param_value.s);
LM_ERR("failed to locate '%c' separator in 'partition' string\n",
DP_CHAR_EQUAL);
goto out_err;
}

Expand Down

0 comments on commit c27a528

Please sign in to comment.