Actions
Bug #3627
closedosmo_ortp.c:my_ortp_logfn does not add endline char during log
Start date:
10/04/2018
Due date:
% Done:
100%
Spec Reference:
Description
During osmo-bts processing, I found the following lines all over the place without endlines, and all are related to osmo_ortp.c:
osmo_ortp.c:0 Sending RTCP SR compound message on session [0x7ffff1728f20].20181003200335480 DMEAS ... whatever here....
That's log output coming fro ortp itself. In order to feed the information into our log system, we use function "my_ortp_logfn".
I'd strlen(fmt), then check if last char is '\n', and otherwise use a new buffer and copy fmt + append '\n'.
Updated by pespin over 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 90
Fixed here:
https://gerrit.osmocom.org/#/c/libosmo-abis/+/11744 osmo_ortp: Log domain and fix strings without endl char
Updated by pespin over 5 years ago
- Status changed from Feedback to Resolved
- % Done changed from 90 to 100
Merged, closing.
Actions