Pārlūkot izejas kodu

script_cb.c: logging: convert LOG to LM_*

Ovidiu Sas 11 gadi atpakaļ
vecāks
revīzija
fca9a2e397
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      script_cb.c

+ 2 - 2
script_cb.c

@@ -68,7 +68,7 @@ static inline int add_callback( struct script_cb **list,
 
 	new_cb=pkg_malloc(sizeof(struct script_cb));
 	if (new_cb==0) {
-		LOG(L_CRIT, "add_script_callback: out of memory\n");
+		LM_CRIT("out of memory\n");
 		return -1;
 	}
 	new_cb->cbf = f;
@@ -121,7 +121,7 @@ int register_script_cb( cb_function f, unsigned int flags, void *param )
 	return 0;
 
 add_error:
-	LOG(L_ERR,"register_script_cb: failed to add callback\n");
+	LM_ERR("failed to add callback\n");
 	return -1;
 }