Module: kamailio
Branch: master
Commit: a48d6a1ed8950ba96d5e85769bba59bfbe469cfa
URL:
https://github.com/kamailio/kamailio/commit/a48d6a1ed8950ba96d5e85769bba59b…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-09-09T10:30:27+02:00
core: add fixup_pvar_pvar_pvar()
---
Modified: mod_fix.c
Modified: mod_fix.h
---
Diff:
https://github.com/kamailio/kamailio/commit/a48d6a1ed8950ba96d5e85769bba59b…
Patch:
https://github.com/kamailio/kamailio/commit/a48d6a1ed8950ba96d5e85769bba59b…
---
diff --git a/mod_fix.c b/mod_fix.c
index 46505f4..8951f2a 100644
--- a/mod_fix.c
+++ b/mod_fix.c
@@ -319,6 +319,20 @@ int fixup_free_pvar_pvar(void** param, int param_no)
}
+int fixup_pvar_pvar_pvar(void** param, int param_no)
+{
+ if (param_no > 3)
+ return E_UNSPEC;
+ return fixup_pvar_all(param, param_no);
+}
+
+int fixup_free_pvar_pvar_pvar(void** param, int param_no)
+{
+ if (param_no > 3)
+ return E_UNSPEC;
+ return fixup_free_pvar_all(param, param_no);
+}
+
int fixup_pvar_null(void** param, int param_no)
{
diff --git a/mod_fix.h b/mod_fix.h
index e02aa6d..13c766a 100644
--- a/mod_fix.h
+++ b/mod_fix.h
@@ -103,6 +103,9 @@ int fixup_free_pvar_none(void** param, int param_no);
int fixup_pvar_pvar(void **param, int param_no);
int fixup_free_pvar_pvar(void** param, int param_no);
+int fixup_pvar_pvar_pvar(void **param, int param_no);
+int fixup_free_pvar_pvar_pvar(void** param, int param_no);
+
int fixup_pvar_str(void** param, int param_no);
int fixup_free_pvar_str(void** param, int param_no);