[PATCH] libosmo-abis[master]: Expand network error callback

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Mon Dec 5 16:40:39 UTC 2016


Hello Neels Hofmeyr, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1364

to look at the new patch set (#2).

Expand network error callback

ortp: use extra parameter for network_error callback in log message as
it's described in oRTP documentation (error string).

Change-Id: I581db499d453b80230198d95000f0f6fc20752d1
---
M src/trau/osmo_ortp.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/64/1364/2

diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 51829d1..645d366 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -130,7 +130,7 @@
 	int port = rtp_session_get_local_port(rs);
 
 	LOGP(DLMIB, LOGL_ERROR,
-	     "osmo-ortp(%d): network_error\n", port);
+	     "osmo-ortp(%d): network_error %s\n", port, (char *)data);
 }
 
 static void ortp_sig_cb_ts(RtpSession *rs, void *data)

-- 
To view, visit https://gerrit.osmocom.org/1364
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I581db499d453b80230198d95000f0f6fc20752d1
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list