Browse code

dialog: fix $dlg(from_bindaddr) name parsing

Camille Oudot authored on 11/04/2016 15:02:03
Showing 1 changed files
... ...
@@ -877,7 +877,7 @@ int pv_parse_dlg_name(pv_spec_p sp, str *in)
877 877
 			else goto error;
878 878
 		break;
879 879
 		case 13: 
880
-			if(strncmp(in->s, "from_bindaddr", 20)==0)
880
+			if(strncmp(in->s, "from_bindaddr", 13)==0)
881 881
 				sp->pvp.pvn.u.isname.name.n = 2;
882 882
 			else goto error;
883 883
 		break;