lynxis lazus has uploaded this change for review.

View Change

TCAP: LOG: fix missing newlines in log messages

Change-Id: Id57d8afeb01412ed7448bb27148be87980f4f906
---
M src/tcap_trans_tracking.c
1 file changed, 8 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/94/43194/1
diff --git a/src/tcap_trans_tracking.c b/src/tcap_trans_tracking.c
index a5a0ca6..421ad7b 100644
--- a/src/tcap_trans_tracking.c
+++ b/src/tcap_trans_tracking.c
@@ -366,7 +366,8 @@
hash_for_each_safe(as->tcap.trans_track_own, i, tmp, entry, own_tid.list) {
if (entry->asp == asp) {
count++;
- LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (asp removed)", entry->own_tid.tid);
+ LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (asp removed)\n",
+ entry->own_tid.tid);
tcap_trans_track_entry_free(entry);
}
}
@@ -374,7 +375,8 @@
hash_for_each_safe(as->tcap.trans_track_peer, i, tmp, entry, peer_tid.list) {
if (entry->asp == asp) {
count++;
- LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (asp removed)", entry->peer_tid.tid);
+ LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (asp removed)\n",
+ entry->peer_tid.tid);
tcap_trans_track_entry_free(entry);
}
}
@@ -390,13 +392,15 @@

hash_for_each_safe(as->tcap.trans_track_own, i, tmp, entry, own_tid.list) {
count++;
- LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (as removed)", entry->own_tid.tid);
+ LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (as removed)\n",
+ entry->own_tid.tid);
tcap_trans_track_entry_free(entry);
}

hash_for_each_safe(as->tcap.trans_track_peer, i, tmp, entry, peer_tid.list) {
count++;
- LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (as removed)", entry->peer_tid.tid);
+ LOGPASP(entry->asp, DLTCAP, LOGL_DEBUG, "Remove Cache entry for tcap own tid %u (as removed)\n",
+ entry->peer_tid.tid);
tcap_trans_track_entry_free(entry);
}


To view, visit change 43194. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Id57d8afeb01412ed7448bb27148be87980f4f906
Gerrit-Change-Number: 43194
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>