Module: kamailio
Branch: master
Commit: 574f2d4d40fbdecf379292d65ad0218e8ecaab10
URL:
https://github.com/kamailio/kamailio/commit/574f2d4d40fbdecf379292d65ad0218…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/574f2d4d40fbdecf379292d65ad0218…
Patch:
https://github.com/kamailio/kamailio/commit/574f2d4d40fbdecf379292d65ad0218…
---
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;
}