Explorar o código

socket_info.h: logging: convert LOG to LM_*

Ovidiu Sas %!s(int64=11) %!d(string=hai) anos
pai
achega
5e8e40a473
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 {
 	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;