[sr-dev] git:master:574f2d4d: rtpproxy: removed function name from log messages

Daniel-Constantin Mierla miconda at gmail.com
Sun Sep 17 10:57:16 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-09-17T10:11:03+02:00

rtpproxy: removed function name from log messages

---

Modified: src/modules/rtpproxy/rtpproxy.c

---

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

---

diff --git a/src/modules/rtpproxy/rtpproxy.c b/src/modules/rtpproxy/rtpproxy.c
index ff1cc27317..4251a9ac82 100644
--- a/src/modules/rtpproxy/rtpproxy.c
+++ b/src/modules/rtpproxy/rtpproxy.c
@@ -1307,12 +1307,12 @@ insert_candidates(struct sip_msg *msg, char *where, str *ip, unsigned int port,
 
 	anchor = anchor_lump(msg, where - msg->buf, 0, 0);
 	if (anchor == 0) {
-		LOG(L_ERR, "insert_candidates: can't get anchor\n");
+		LM_ERR("can't get anchor\n");
 		pkg_free(buf);
 		return -1;
 	}
 	if (insert_new_lump_before(anchor, buf, at - buf, 0) == 0) {
-		LM_ERR("insert_candidates: insert_new_lump_before failed\n");
+		LM_ERR("insert_new_lump_before failed\n");
 		pkg_free(buf);
 		return -1;
 	}




More information about the sr-dev mailing list