Skip to content

Commit

Permalink
core: ppcfg - jump to end when defexp eval does not get a str val
Browse files Browse the repository at this point in the history
(cherry picked from commit daac0bd)
  • Loading branch information
miconda committed Mar 6, 2024
1 parent 219c21f commit 4c78a56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/ppcfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ char *pp_defexp_eval(char *exval, int exlen, int qmode)
LM_DBG("expression string result: [%s]\n", result->param.stz.sval);
sval.s = result->param.stz.sval;
sval.len = strlen(result->param.stz.sval);
} else {
goto done;
}

if(qmode == 1) {
Expand Down

0 comments on commit 4c78a56

Please sign in to comment.