Module: sip-router Branch: master Commit: 15d47d5cb04ef51d5050b7235b8a187bcd606d04 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=15d47d5c...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Fri Jun 5 15:19:59 2009 +0200
core: regex fixup fix for k modules
k modules that use the core regex fixup functions expect a pointer to a regex, but got instead a double pointer to a regex.
---
sr_module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sr_module.c b/sr_module.c index fc7671e..3641df3 100644 --- a/sr_module.c +++ b/sr_module.c @@ -1083,7 +1083,7 @@ int fix_param(int type, void** param) ERR("Bad regular expression '%s'\n", (char*)*param); goto error; } - p->fixed = &p->v; + p->fixed = p->v.regex; break; case FPARAM_AVP: name.s = (char*)*param;