Change in osmo-sip-connector[master]: mncc: Log write error code

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

pespin gerrit-no-reply at lists.osmocom.org
Tue Feb 2 15:47:28 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/22633 )


Change subject: mncc: Log write error code
......................................................................

mncc: Log write error code

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/33/22633/1

diff --git a/src/mncc.c b/src/mncc.c
index abfa01b..6d42fde 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -163,7 +163,7 @@
 	rc = write(conn->fd.fd, &rtp, sizeof(rtp));
 	LOGP(DMNCC, LOGL_DEBUG, "MNCC sent message type: %s\n", osmo_mncc_name(rtp->msg_type));
 	if (rc != sizeof(*rtp)) {
-		LOGP(DMNCC, LOGL_ERROR, "Failed to send message for call(%u)\n", rtp->callref);
+		LOGP(DMNCC, LOGL_ERROR, "Failed to send message for call(%u): %d\n", rtp->callref, rc);
 		close_connection(conn);
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/22633
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Change-Id: If7b49bee6fec3a188c978c0606c524776a577927
Gerrit-Change-Number: 22633
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210202/73f03b19/attachment.htm>


More information about the gerrit-log mailing list