[sr-dev] git:master:b5d4fd9f: dst_blacklist.c: logging: DBG -> LM_DBG

Ovidiu Sas osas at voipembedded.com
Tue Jan 13 18:33:17 CET 2015


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2015-01-13T12:32:55-05:00

dst_blacklist.c: logging: DBG -> LM_DBG

---

Modified: dst_blacklist.c

---

Diff:  https://github.com/kamailio/kamailio/commit/b5d4fd9f2f14627fe5e8edf8da8616954b336488.diff
Patch: https://github.com/kamailio/kamailio/commit/b5d4fd9f2f14627fe5e8edf8da8616954b336488.patch

---

diff --git a/dst_blacklist.c b/dst_blacklist.c
index 823aa0a..a2a4696 100644
--- a/dst_blacklist.c
+++ b/dst_blacklist.c
@@ -668,7 +668,7 @@ inline static int dst_blacklist_clean_expired(unsigned int target,
 			/* check for timeout only "between" hash cells */
 			now=get_ticks_raw();
 			if ((now-start_time)>=timeout){
-				DBG("_dst_blacklist_clean_expired_unsafe: timeout: %d > %d\n",
+				LM_DBG("timeout: %d > %d\n",
 						TICKS_TO_MS(now-start_time), TICKS_TO_MS(timeout));
 				goto skip;
 			}
@@ -677,7 +677,7 @@ inline static int dst_blacklist_clean_expired(unsigned int target,
 skip:
 	start=h; /* next time we start where we left */
 	if (no){
-		DBG("dst_blacklist_clean_expired, %d entries removed\n", no);
+		LM_DBG("%d entries removed\n", no);
 	}
 	return no;
 }




More information about the sr-dev mailing list