Browse code

error.c: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 21:53:34
Showing 1 changed files
... ...
@@ -216,7 +216,7 @@ void get_reply_status( str *status, struct sip_msg *reply, int code )
216 216
 	status->s=0;
217 217
 
218 218
 	if (reply==0) {
219
-		LOG(L_CRIT, "BUG: get_reply_status called with 0 msg\n");
219
+		LM_CRIT("0 msg\n");
220 220
 		return;
221 221
 	}
222 222
 
... ...
@@ -229,7 +229,7 @@ void get_reply_status( str *status, struct sip_msg *reply, int code )
229 229
 	status->len=phrase.len+3/*code*/+1/*space*/; 
230 230
 	status->s=pkg_malloc(status->len+1/*ZT */);
231 231
 	if (!status->s) {
232
-		LOG(L_ERR, "ERROR: get_reply_status: no mem\n");
232
+		LM_ERR("no mem\n");
233 233
 		return;
234 234
 	}
235 235
 	status->s[3]=' ';