瀏覽代碼

rtpproxy: removed function name from log messages

(cherry picked from commit 574f2d4d40fbdecf379292d65ad0218e8ecaab10)
Daniel-Constantin Mierla 8 年之前
父節點
當前提交
c7350a733d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/modules/rtpproxy/rtpproxy.c

+ 2 - 2
src/modules/rtpproxy/rtpproxy.c

@@ -1303,12 +1303,12 @@ insert_candidates(struct sip_msg *msg, char *where, str *ip, unsigned int port,
 
 
 	anchor = anchor_lump(msg, where - msg->buf, 0, 0);
 	anchor = anchor_lump(msg, where - msg->buf, 0, 0);
 	if (anchor == 0) {
 	if (anchor == 0) {
-		LOG(L_ERR, "insert_candidates: can't get anchor\n");
+		LM_ERR("can't get anchor\n");
 		pkg_free(buf);
 		pkg_free(buf);
 		return -1;
 		return -1;
 	}
 	}
 	if (insert_new_lump_before(anchor, buf, at - buf, 0) == 0) {
 	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);
 		pkg_free(buf);
 		return -1;
 		return -1;
 	}
 	}