Module: kamailio
Branch: master
Commit: fcc4908fdbb555c09b8431f25211d93a90e2fac3
URL: https://github.com/kamailio/kamailio/commit/fcc4908fdbb555c09b8431f25211d93…
Author: Samuel <samuel_is_kewl(a)hotmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-27T08:29:08+01:00
debugger: correcting function utilized by KEMI
- Since constants are used as arguments on the called function I suppose the parameters are not necessary on the parent function
---
Modified: src/modules/debugger/debugger_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/fcc4908fdbb555c09b8431f25211d93…
Patch: https://github.com/kamailio/kamailio/commit/fcc4908fdbb555c09b8431f25211d93…
---
diff --git a/src/modules/debugger/debugger_mod.c b/src/modules/debugger/debugger_mod.c
index 5c973c57b5..76da385c0d 100644
--- a/src/modules/debugger/debugger_mod.c
+++ b/src/modules/debugger/debugger_mod.c
@@ -595,16 +595,16 @@ static int w_dbg_sip_msg(struct sip_msg* msg, char *level, char *facility)
}
/**
- * dump pv_cache contents as json
+ * dump pv_cache contents as json with default parameters
*/
-static int ki_dbg_pv_dump(sip_msg_t* msg, char* mask, char* level)
+static int ki_dbg_pv_dump(sip_msg_t* msg)
{
- dbg_dump_json(msg, DBG_DP_ALL, DBG_DP_ALL);
+ dbg_dump_json(msg, DBG_DP_ALL, L_DBG);
return 1;
}
/**
- * dump pv_cache contents as json
+ * dump pv_cache contents as json with explicit parameters
*/
static int ki_dbg_pv_dump_ex(sip_msg_t* msg, int mask, int level)
{
Module: kamailio
Branch: master
Commit: 74c0dc87e1cfc4f25ac5ebae3f4ad9317ed8ca9e
URL: https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad93…
Author: Samuel <samuel_is_kewl(a)hotmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-27T08:29:08+01:00
xhttp: updating name of function and parameter type
- Updating the name to reflect the original name. Mismatch between export and function declaration with regards to the type of parameters.
---
Modified: src/modules/xhttp/xhttp_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad93…
Patch: https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad93…
---
diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c
index 8a542bfc8b..f62013cd90 100644
--- a/src/modules/xhttp/xhttp_mod.c
+++ b/src/modules/xhttp/xhttp_mod.c
@@ -551,9 +551,9 @@ int bind_xhttp(xhttp_api_t* api)
*/
/* clang-format off */
static sr_kemi_t sr_kemi_xhttp_exports[] = {
- { str_init("xhttp"), str_init("reply"),
+ { str_init("xhttp"), str_init("xhttp_reply"),
SR_KEMIP_INT, xhttp_send_reply,
- { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
+ { SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_STR,
SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE }
},