Module: kamailio Branch: master Commit: 85ae655411462955e32ffebccd2b51a5915cc678 URL: https://github.com/kamailio/kamailio/commit/85ae655411462955e32ffebccd2b51a5915cc678
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2015-09-10T09:04:31+02:00 Merge pull request #320 from kamailio/vseva/mod_fix_pvar_3 core: add fixup_pvar_pvar_pvar() --- Modified: mod_fix.c Modified: mod_fix.h --- Diff: https://github.com/kamailio/kamailio/commit/85ae655411462955e32ffebccd2b51a5915cc678.diff Patch: https://github.com/kamailio/kamailio/commit/85ae655411462955e32ffebccd2b51a5915cc678.patch --- 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); _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev