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

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 21:16:35 CEST 2014


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

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

socket_info.h: logging: convert LOG to LM_*

---

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

diff --git a/socket_info.h b/socket_info.h
index 5961dd9..7ac4260 100644
--- a/socket_info.h
+++ b/socket_info.h
@@ -116,7 +116,7 @@ char* get_valid_proto_name(unsigned short proto);
 static inline int next_proto(unsigned short proto)
 {
 	if (proto>PROTO_LAST)
-			LOG(L_ERR, "ERROR: next_proto: unknown proto %d\n", proto);
+		LM_ERR("unknown proto %d\n", proto);
 	else
 		return nxt_proto[proto];
 	return 0;




More information about the sr-dev mailing list