pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19143 )
Change subject: socket: introduce osmo_sock_init_osa & osmo_sock_init_osa_ofd ...................................................................... Patch Set 20: (1 comment) https://gerrit.osmocom.org/c/libosmocore/+/19143/20/src/socket.c File src/socket.c: https://gerrit.osmocom.org/c/libosmocore/+/19143/20/src/socket.c@1019 PS20, Line 1019: return osmo_fd_init_ofd(ofd, osmo_sock_init_osa(type, proto, local, remote, flags)); I think I already commented on this: First check for return of osmo_sock_init_osa(), and if it fails return early, don't pass it to osmo_fd_init_ofd. -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19143 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I1eece543e3241ef0e095eb63bb831f7c15a16794 Gerrit-Change-Number: 19143 Gerrit-PatchSet: 20 Gerrit-Owner: lynxis lazus <[email protected]> Gerrit-Assignee: pespin <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <[email protected]> Gerrit-Reviewer: lynxis lazus <[email protected]> Gerrit-Reviewer: pespin <[email protected]> Gerrit-CC: neels <[email protected]> Gerrit-Comment-Date: Fri, 04 Sep 2020 11:34:24 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
