Change in osmocom-bb[master]: layer23/sap_interface.c: use int for rc in sap_open()

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Mon Dec 24 22:09:21 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/12434


Change subject: layer23/sap_interface.c: use int for rc in sap_open()
......................................................................

layer23/sap_interface.c: use int for rc in sap_open()

Change-Id: I683f87ae09393c45377c39317b08c613055ceb16
---
M src/host/layer23/src/common/sap_interface.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/34/12434/1

diff --git a/src/host/layer23/src/common/sap_interface.c b/src/host/layer23/src/common/sap_interface.c
index 7a42233..0d42209 100644
--- a/src/host/layer23/src/common/sap_interface.c
+++ b/src/host/layer23/src/common/sap_interface.c
@@ -504,7 +504,7 @@
 
 int sap_open(struct osmocom_ms *ms)
 {
-	ssize_t rc;
+	int rc;
 
 	rc = osmo_sock_unix_init_ofd(&ms->sap_wq.bfd, SOCK_STREAM, 0,
 		ms->settings.sap_socket_path, OSMO_SOCK_F_CONNECT);

-- 
To view, visit https://gerrit.osmocom.org/12434
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I683f87ae09393c45377c39317b08c613055ceb16
Gerrit-Change-Number: 12434
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181224/6fe2844f/attachment.htm>


More information about the gerrit-log mailing list