Jelajahi Sumber

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
Samuel 7 tahun lalu
induk
melakukan
fcc4908fdb
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/modules/debugger/debugger_mod.c

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