ソースを参照

core: fixed bug in PV caching that broke the use of the $$ symbol

- Found and fixed by Hugh Waite @ Crocodile RCS
Peter Dunkley 12 年 前
コミット
c059041a71
1 ファイル変更4 行追加0 行削除
  1. 4 0
      pvapi.c

+ 4 - 0
pvapi.c

@@ -120,6 +120,10 @@ int pv_locate_name(str *in)
 		LM_ERR("missing pv marker [%.*s]\n", in->len, in->s);
 		return -1;
 	}
+	if(in->s[1]==PV_MARKER)
+	{
+		return 2;
+	}
 	pcount = 0;
 	if(in->s[1]==PV_LNBRACKET)
 	{