[sr-dev] git:master: core: fixed bug in PV caching that broke the use of the $$ symbol
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Sun Jan 20 15:24:26 CET 2013
Module: sip-router
Branch: master
Commit: c059041a71a1b7175243c366316108ce370fffa7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c059041a71a1b7175243c366316108ce370fffa7
Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date: Sun Jan 20 14:18:55 2013 +0000
core: fixed bug in PV caching that broke the use of the $$ symbol
- Found and fixed by Hugh Waite @ Crocodile RCS
---
pvapi.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pvapi.c b/pvapi.c
index aafc5b8..6245ee9 100644
--- a/pvapi.c
+++ b/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)
{
More information about the sr-dev
mailing list