Browse code

tcp_ev.h: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 19:15:19
Showing 1 changed files
... ...
@@ -50,27 +50,27 @@
50 50
  * @param proto - protocol used
51 51
  */
52 52
 #define TCP_EV_CONNECT_RST(err, lip, lport, dst, proto) \
53
-	LOG(L_ERR, "connect %s failed (RST) %s\n", \
53
+	LM_ERR("connect %s failed (RST) %s\n", \
54 54
 			su2a(dst, sizeof(*(dst))), (err)?strerror(err):"")
55 55
 
56 56
 /** a connect failed because the remote host/network is unreachable. */
57 57
 #define TCP_EV_CONNECT_UNREACHABLE(err, lip, lport, dst, proto) \
58
-	LOG(L_ERR, "connect %s failed (unreachable) %s\n", \
58
+	LM_ERR("connect %s failed (unreachable) %s\n", \
59 59
 			su2a(dst, sizeof(*(dst))), (err)?strerror(err):"")
60 60
 
61 61
 /** a connect attempt did timeout. */
62 62
 #define TCP_EV_CONNECT_TIMEOUT(err, lip, lport, dst, proto) \
63
-	LOG(L_ERR, "connect %s failed (timeout) %s\n", \
63
+	LM_ERR("connect %s failed (timeout) %s\n", \
64 64
 			su2a(dst, sizeof(*(dst))), (err)?strerror(err):"")
65 65
 
66 66
 /** a connect attempt failed because the local ports are exhausted. */
67 67
 #define TCP_EV_CONNECT_NO_MORE_PORTS(err, lip, lport, dst, proto) \
68
-	LOG(L_ERR, "connect %s failed (no more ports) %s\n", \
68
+	LM_ERR("connect %s failed (no more ports) %s\n", \
69 69
 			su2a(dst, sizeof(*(dst))), (err)?strerror(err):"")
70 70
 
71 71
 /** a connect attempt failed for some unknown reason.  */
72 72
 #define TCP_EV_CONNECT_ERR(err, lip, lport, dst, proto) \
73
-	LOG(L_ERR, "connect %s failed %s\n", \
73
+	LM_ERR("connect %s failed %s\n", \
74 74
 			su2a(dst, sizeof(*(dst))), (err)?strerror(err):"")
75 75
 
76 76