Module: kamailio
Branch: master
Commit: 5ac49634c18955ffedd0ad909d2199e5881905c6
URL:
https://github.com/kamailio/kamailio/commit/5ac49634c18955ffedd0ad909d2199e…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2021-03-24T19:35:11-04:00
siptrace: properly terminate logs with '\n'
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5ac49634c18955ffedd0ad909d2199e…
Patch:
https://github.com/kamailio/kamailio/commit/5ac49634c18955ffedd0ad909d2199e…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index f62cc91347..31cabefe3b 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -319,7 +319,7 @@ static int mod_init(void)
}
if(hep_version != 1 && hep_version != 2 && hep_version != 3) {
- LM_ERR("unsupported version of HEP");
+ LM_ERR("unsupported version of HEP\n");
return -1;
}
@@ -2154,7 +2154,7 @@ int siptrace_net_data_recv(sr_event_param_t *evp)
tmsg.len = sto.body.len;
if (parse_msg(tmsg.buf, tmsg.len, &tmsg)!=0) {
- LM_DBG("msg buffer parsing failed!");
+ LM_DBG("msg buffer parsing failed!\n");
goto afterdb;
}
@@ -2279,7 +2279,7 @@ int siptrace_net_data_sent(sr_event_param_t *evp)
tmsg.len = sto.body.len;
if (parse_msg(tmsg.buf, tmsg.len, &tmsg)!=0) {
- LM_DBG("msg buffer parsing failed!");
+ LM_DBG("msg buffer parsing failed!\n");
goto afterdb;
}