Skip to content

Commit

Permalink
pv: debug message with intermediate message to evaluate by pv_evalx()
Browse files Browse the repository at this point in the history
(cherry picked from commit 03698a4)
(cherry picked from commit 574a0d2)
  • Loading branch information
miconda committed Jun 20, 2018
1 parent 270b997 commit a90bd2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/pv/pv.c
Expand Up @@ -850,6 +850,7 @@ int w_pv_evalx(struct sip_msg *msg, char *dst, str *fmt)
goto error;
}

LM_DBG("preparing to evaluate: [%.*s]\n", tstr.len, tstr.s);
if(pv_eval_str(msg, &val.rs, &tstr)<0){
LM_ERR("cannot eval reparsed value of second parameter\n");
return -1;
Expand Down

0 comments on commit a90bd2e

Please sign in to comment.