Browse code

rad_dict.h: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 20:41:51
Showing 1 changed files
... ...
@@ -147,8 +147,8 @@ typedef enum rad_val {
147 147
 			continue;					\
148 148
 		da = rc_dict_findattr(rh, at[i].n);			\
149 149
 		if (da == NULL) {					\
150
-			LOG(L_ERR, "ERROR: %s: can't get code for the "	\
151
-				   "%s attribute\n", fn, at[i].n);	\
150
+			LM_ERR("%s: can't get code for %s attr\n",	\
151
+					fn, at[i].n);			\
152 152
 			return e1;					\
153 153
 		}							\
154 154
 		at[i].v = da->value;					\
... ...
@@ -158,8 +158,8 @@ typedef enum rad_val {
158 158
 			continue;					\
159 159
 		dv = rc_dict_findval(rh, vl[i].n);			\
160 160
 		if (dv == NULL) {					\
161
-			LOG(L_ERR, "ERROR: %s: can't get code for the "	\
162
-				   "%s attribute value\n", fn, vl[i].n);\
161
+			LM_ERR("%s: can't get code for %s attr value\n",\
162
+					fn, vl[i].n);			\
163 163
 			return e2;					\
164 164
 		}							\
165 165
 		vl[i].v = dv->value;					\