pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/42575?usp=email )

Change subject: asp: Fix wrong variable logged in ss7_asp_xua_srv_conn_rx_cb()
......................................................................

asp: Fix wrong variable logged in ss7_asp_xua_srv_conn_rx_cb()

Change-Id: I24206a19fe57772caf8036464a2e1b6b8630fd7a
---
M src/ss7_asp.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved




diff --git a/src/ss7_asp.c b/src/ss7_asp.c
index 6efd9f4..c1739f3 100644
--- a/src/ss7_asp.c
+++ b/src/ss7_asp.c
@@ -1117,7 +1117,7 @@
        flags = msgb_sctp_msg_flags(msg);

        LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d 
(flags=0x%x)\n",
-               __func__, rc, flags);
+               __func__, res, flags);

        if (flags & OSMO_STREAM_SCTP_MSG_FLAGS_NOTIFICATION) {
                union sctp_notification *notif = (union sctp_notification *) 
msgb_data(msg);
@@ -1318,7 +1318,7 @@
        flags = msgb_sctp_msg_flags(msg);

        LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d 
(flags=0x%x)\n",
-               __func__, msgb_length(msg), flags);
+               __func__, res, flags);

        if (flags & OSMO_STREAM_SCTP_MSG_FLAGS_NOTIFICATION) {
                union sctp_notification *notif = (union sctp_notification *) 
msgb_data(msg);

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/42575?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I24206a19fe57772caf8036464a2e1b6b8630fd7a
Gerrit-Change-Number: 42575
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to