Skip to content

Commit

Permalink
Avoid errors on "$rU = <NULL expression>;" statements
Browse files Browse the repository at this point in the history
(cherry picked from commit 94d2f05)
  • Loading branch information
liviuchircu committed Jan 30, 2019
1 parent 6d55985 commit 9b8b28c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvar.c
Expand Up @@ -2625,8 +2625,8 @@ int pv_set_ruri_user(struct sip_msg* msg, pv_param_t *param,
{
memset(&act, 0, sizeof(act));
act.type = SET_USER_T;
act.elem[0].type = STRING_ST;
act.elem[0].u.string = "";
act.elem[0].type = STR_ST;
act.elem[0].u.s = str_empty;
if (do_action(&act, msg)<0)
{
LM_ERR("do action failed)\n");
Expand Down

0 comments on commit 9b8b28c

Please sign in to comment.