[sr-dev] git:master:bf73dcec: blst: remove log level and function name from debug message

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 3 09:15:02 CET 2022


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-03T09:14:09+01:00

blst: remove log level and function name from debug message

---

Modified: src/modules/blst/blst.c

---

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

---

diff --git a/src/modules/blst/blst.c b/src/modules/blst/blst.c
index 1c2773c53c..79cf47548a 100644
--- a/src/modules/blst/blst.c
+++ b/src/modules/blst/blst.c
@@ -273,8 +273,7 @@ static int ki_blst_is_blocklisted(sip_msg_t* msg)
 		if (dst_is_blocklisted(&src, msg))
 			return 1;
 	}else{
-		LOG(L_WARN, "WARNING: blst: blst_is_blocklisted:"
-					" blocklist support disabled\n");
+		LM_WARN("blocklist support disabled\n");
 	}
 #else /* USE_DST_BLOCKLIST */
 	LM_WARN("blocklist support not compiled-in - no effect -\n");




More information about the sr-dev mailing list