Browse code

script_cb.c: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 20:43:44
Showing 1 changed files
... ...
@@ -68,7 +68,7 @@ static inline int add_callback( struct script_cb **list,
68 68
 
69 69
 	new_cb=pkg_malloc(sizeof(struct script_cb));
70 70
 	if (new_cb==0) {
71
-		LOG(L_CRIT, "add_script_callback: out of memory\n");
71
+		LM_CRIT("out of memory\n");
72 72
 		return -1;
73 73
 	}
74 74
 	new_cb->cbf = f;
... ...
@@ -121,7 +121,7 @@ int register_script_cb( cb_function f, unsigned int flags, void *param )
121 121
 	return 0;
122 122
 
123 123
 add_error:
124
-	LOG(L_ERR,"register_script_cb: failed to add callback\n");
124
+	LM_ERR("failed to add callback\n");
125 125
 	return -1;
126 126
 }
127 127