[PATCH] libosmo-sccp[master]: xua_cli_conn_cb: Print flags as hex, not decimal.

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Apr 9 19:31:09 UTC 2017


Hello Jenkins Builder,

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

    https://gerrit.osmocom.org/2240

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

xua_cli_conn_cb: Print flags as hex, not decimal.

Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
---
M src/osmo_ss7.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/40/2240/3

diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 2dbb94d..df85ea8 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1246,7 +1246,7 @@
 	/* read xUA message from socket and process it */
 	rc = sctp_recvmsg(ofd->fd, msgb_data(msg), msgb_tailroom(msg),
 			  NULL, NULL, &sinfo, &flags);
-	LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d (flags=%d)\n",
+	LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d (flags=0x%x)\n",
 		__func__, rc, flags);
 	if (rc < 0) {
 		osmo_stream_cli_reconnect(conn);

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
Gerrit-PatchSet: 3
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list