Browse code

char_msg_val.h: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 18:43:39
Showing 1 changed files
... ...
@@ -57,7 +57,7 @@ inline static int char_msg_val( struct sip_msg *msg, char *cv )
57 57
 	str src[8];
58 58
 
59 59
 	if (unlikely(!check_transaction_quadruple(msg))) {
60
-		LOG(L_ERR, "ERROR: can't calculate char_value due "
60
+		LM_ERR("can't calculate char_value due "
61 61
 			"to a parsing error\n");
62 62
 		memset( cv, '0', MD5_LEN );
63 63
 		return 0;
... ...
@@ -81,7 +81,7 @@ inline static int char_msg_val( struct sip_msg *msg, char *cv )
81 81
 	if (msg->from->parsed==0){
82 82
 		/* parse from body */
83 83
 		if (unlikely(parse_from_header(msg) == -1)){
84
-			LOG(L_ERR, "error while parsing From header\n");
84
+			LM_ERR("error while parsing From header\n");
85 85
 			return 0;
86 86
 		}
87 87
 	}