[MERGED] libosmocore[master]: libosmoctrl: Fix typo in ctrl_interface_connect()

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 23 20:10:12 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: libosmoctrl: Fix typo in ctrl_interface_connect()
......................................................................


libosmoctrl: Fix typo in ctrl_interface_connect()

it's osmo_sock_init_ofd(), not osmo_sock_init_ifd()

Change-Id: Ia6a82031a691403f641815862613d99b31a3a159
---
M src/ctrl/control_if.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index cf79670..d78b513 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -681,7 +681,7 @@
 
 	ctrl->listen_fd.cb = NULL;
 	ctrl->listen_fd.data = ctrl;
-	ret = osmo_sock_init_ifd(&ctrl->listen_fd, AF_INET, SOCK_STREAM,
+	ret = osmo_sock_init_ofd(&ctrl->listen_fd, AF_INET, SOCK_STREAM,
 				 IPPROTO_TCP, addr, port, OSMO_SOCK_F_CONNECT);
 	if (ret < 0) {
 		LOGP(DLCTRL, LOGL_ERROR, "Cannot connect to CTRL at %s:%u\n",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6a82031a691403f641815862613d99b31a3a159
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
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