diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-13 16:13:26 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-13 16:53:41 +0200 |
commit | c47bbda78ce62d3390343b39d3bdfd0d6c9609df (patch) | |
tree | dd29ece3582f6c1cf07b0d00c5e0606ee65f653d /include/osmocom/core/byteswap.h | |
parent | e30d7e6018e2690e7f51c182ab2a4fbaca8dd7cc (diff) |
socket: Unify listen() calls and check for erroneous returns
We had three places at the end of socket initialization functions
calling listen(). Let's unify that and fix some bugs:
* close + return error in case of bad listen() result
* don't call listen() on AF_UNIX SOCK_DGRAM sockets
Change-Id: I7e8dbe3c0486bb3b9810b0add1331e93fc106d82
Diffstat (limited to 'include/osmocom/core/byteswap.h')
0 files changed, 0 insertions, 0 deletions