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

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

Review at  https://gerrit.osmocom.org/1885

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(-)

  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/85/1885/1

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: newchange
Gerrit-Change-Id: Ia6a82031a691403f641815862613d99b31a3a159
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>

More information about the gerrit-log mailing list