fixeria has uploaded this change for review.
osmo_stream_srv_link_ofd_cb(): fix wrong socket size passed to accept()
Change-Id: Ie280c255fb2ba790b448e283439c42b766427352
Fixes: CID#321414
---
M src/stream_srv.c
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/32/35332/1
diff --git a/src/stream_srv.c b/src/stream_srv.c
index 0dca10a..7cad4c4 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -117,7 +117,7 @@
int ret;
int sock_fd;
struct osmo_sockaddr osa;
- socklen_t sa_len = sizeof(osa.u.sas);
+ socklen_t sa_len = sizeof(osa.u.sa);
struct osmo_stream_srv_link *link = ofd->data;
ret = accept(ofd->fd, &osa.u.sa, &sa_len);
To view, visit change 35332. To unsubscribe, or for help writing mail filters, visit settings.