Browse Source

socket_info.h: logging: convert LOG to LM_*

Ovidiu Sas 11 years ago
parent
commit
5e8e40a473
1 changed files with 1 additions and 1 deletions
  1. 1 1
      socket_info.h

+ 1 - 1
socket_info.h

@@ -116,7 +116,7 @@ char* get_valid_proto_name(unsigned short proto);
 static inline int next_proto(unsigned short proto)
 static inline int next_proto(unsigned short proto)
 {
 {
 	if (proto>PROTO_LAST)
 	if (proto>PROTO_LAST)
-			LOG(L_ERR, "ERROR: next_proto: unknown proto %d\n", proto);
+		LM_ERR("unknown proto %d\n", proto);
 	else
 	else
 		return nxt_proto[proto];
 		return nxt_proto[proto];
 	return 0;
 	return 0;