diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-08-01 12:43:08 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-08-02 11:19:38 +0200 |
commit | 0659c5d2f3e7653668838a2162ec72efb67ca68e (patch) | |
tree | c820f9e5abc1f3682b925f0b4135a6fe9812edb8 /tests/gb/gprs_ns_test.c | |
parent | 5a7740d1dbefcb0116a1936da3f96960250fd849 (diff) |
socket: check return code of setsockopt
the return code of the last setsockopt() call in osmo_sock_init() is not
checked. Since all other calls to setsockopt are checked, lets check
this one as well.
- check return code of setsockopt() and close the socket on failure
Change-Id: I96dbccc3bcff35bf39979dbe0c44aadc8ce20c83
Diffstat (limited to 'tests/gb/gprs_ns_test.c')
0 files changed, 0 insertions, 0 deletions