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)
{