Browse code

siptrace: properly terminate logs with '\n'

Ovidiu Sas authored on 24/03/2021 23:35:11
Showing 1 changed files
... ...
@@ -319,7 +319,7 @@ static int mod_init(void)
319 319
 	}
320 320
 
321 321
 	if(hep_version != 1 && hep_version != 2 && hep_version != 3) {
322
-		LM_ERR("unsupported version of HEP");
322
+		LM_ERR("unsupported version of HEP\n");
323 323
 		return -1;
324 324
 	}
325 325
 
... ...
@@ -2154,7 +2154,7 @@ int siptrace_net_data_recv(sr_event_param_t *evp)
2154 2154
 		tmsg.len = sto.body.len;
2155 2155
 
2156 2156
 		if (parse_msg(tmsg.buf, tmsg.len, &tmsg)!=0) {
2157
-			LM_DBG("msg buffer parsing failed!");
2157
+			LM_DBG("msg buffer parsing failed!\n");
2158 2158
 			goto afterdb;
2159 2159
 		}
2160 2160
 
... ...
@@ -2279,7 +2279,7 @@ int siptrace_net_data_sent(sr_event_param_t *evp)
2279 2279
 		tmsg.len = sto.body.len;
2280 2280
 
2281 2281
 		if (parse_msg(tmsg.buf, tmsg.len, &tmsg)!=0) {
2282
-			LM_DBG("msg buffer parsing failed!");
2282
+			LM_DBG("msg buffer parsing failed!\n");
2283 2283
 			goto afterdb;
2284 2284
 		}
2285 2285