From fcc4908fdbb555c09b8431f25211d93a90e2fac3 Mon Sep 17 00:00:00 2001 From: Samuel Date: Sun, 26 Nov 2017 21:41:06 +0100 Subject: [PATCH] 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 --- src/modules/debugger/debugger_mod.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/debugger/debugger_mod.c b/src/modules/debugger/debugger_mod.c index 5c973c57b5c..76da385c0dc 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) {