summaryrefslogtreecommitdiffstats
path: root/tests/conv/conv_gsm0503_test.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-13 16:13:26 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-13 16:53:41 +0200
commitc47bbda78ce62d3390343b39d3bdfd0d6c9609df (patch)
treedd29ece3582f6c1cf07b0d00c5e0606ee65f653d /tests/conv/conv_gsm0503_test.c
parente30d7e6018e2690e7f51c182ab2a4fbaca8dd7cc (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 'tests/conv/conv_gsm0503_test.c')
0 files changed, 0 insertions, 0 deletions