Skip to content

Commit

Permalink
dialog: fix $dlg(from_bindaddr) name parsing
Browse files Browse the repository at this point in the history
(cherry picked from commit f95789f)
  • Loading branch information
camilleoudot committed Apr 11, 2016
1 parent 541fcf7 commit 9778b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialog/dlg_var.c
Expand Up @@ -877,7 +877,7 @@ int pv_parse_dlg_name(pv_spec_p sp, str *in)
else goto error;
break;
case 13:
if(strncmp(in->s, "from_bindaddr", 20)==0)
if(strncmp(in->s, "from_bindaddr", 13)==0)
sp->pvp.pvn.u.isname.name.n = 2;
else goto error;
break;
Expand Down

0 comments on commit 9778b2e

Please sign in to comment.