[sr-dev] git:master:fcc4908f: debugger: correcting function utilized by KEMI

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 27 08:29:19 CET 2017


Module: kamailio
Branch: master
Commit: fcc4908fdbb555c09b8431f25211d93a90e2fac3
URL: https://github.com/kamailio/kamailio/commit/fcc4908fdbb555c09b8431f25211d93a90e2fac3

Author: Samuel <samuel_is_kewl at hotmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/fcc4908fdbb555c09b8431f25211d93a90e2fac3.diff
Patch: https://github.com/kamailio/kamailio/commit/fcc4908fdbb555c09b8431f25211d93a90e2fac3.patch

---

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




More information about the sr-dev mailing list