Module: kamailio Branch: master Commit: c46884bc9818a046d549b06de2af0746f614cc0e URL: https://github.com/kamailio/kamailio/commit/c46884bc9818a046d549b06de2af0746...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-01-24T15:54:33+01:00
pv: include ppcfg.h for pp_define_get()
---
Modified: src/modules/pv/pv_core.c
---
Diff: https://github.com/kamailio/kamailio/commit/c46884bc9818a046d549b06de2af0746... Patch: https://github.com/kamailio/kamailio/commit/c46884bc9818a046d549b06de2af0746...
---
diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c index 2e54253eb4..0419641efd 100644 --- a/src/modules/pv/pv_core.c +++ b/src/modules/pv/pv_core.c @@ -32,6 +32,7 @@ #include "../../core/strutils.h" #include "../../core/tcp_conn.h" #include "../../core/pvapi.h" +#include "../../core/ppcfg.h" #include "../../core/trim.h" #include "../../core/msg_translator.h"
@@ -3671,8 +3672,6 @@ int pv_parse_def_name(pv_spec_p sp, str *in)
}
-extern str *pp_define_get(int len, const char * text); - int pv_get_def(sip_msg_t *msg, pv_param_t *param, pv_value_t *res) { str *val = pp_define_get(param->pvn.u.isname.name.s.len, param->pvn.u.isname.name.s.s);