[sr-dev] git:master: tcp_conn.h: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 22:45:13 CEST 2014


Module: sip-router
Branch: master
Commit: 2ee98a71e4e4478983b3b576b432f63c7003d514
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2ee98a71e4e4478983b3b576b432f63c7003d514

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 16:45:07 2014 -0400

tcp_conn.h: logging: convert LOG to LM_*

---

 tcp_conn.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tcp_conn.h b/tcp_conn.h
index 896678f..7c9eecb 100644
--- a/tcp_conn.h
+++ b/tcp_conn.h
@@ -328,8 +328,7 @@ static inline unsigned tcp_addr_hash(	struct ip_addr* ip,
 			(l_ip->u.addr32[0]^l_ip->u.addr32[1]^l_ip->u.addr32[2]^
 				l_ip->u.addr32[3]^l_port);
 	else{
-		LOG(L_CRIT, "tcp_addr_hash: BUG: bad len %d for an ip address\n",
-				ip->len);
+		LM_CRIT("bad len %d for an ip address\n", ip->len);
 		return 0;
 	}
 	/* make sure the first bits are influenced by all 32




More information about the sr-dev mailing list