summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/bsd/bind.c
diff options
context:
space:
mode:
authorBenjamin Riefenstahl <b.riefenstahl@turtle-trading.net>2022-06-10 20:22:39 +0000
committerOri Bernstein <ori@eigenstate.org>2022-06-10 20:22:39 +0000
commitd618223086e32bc26d64eb20bfcb3de31536782f (patch)
tree9faf5d3e53bcc768b9bd00eeb46ae6ecc49ee5b7 /sys/src/ape/lib/bsd/bind.c
parent9fc38d43d45185c25cf74361b4bb778c611b015d (diff)
ape/bsd/listen.c: Do not try to issue "announce *".
"port >= 0" is always true, because the port always gets filtered through "htons" which returns "unsigned short", so we can just drop the "else" branch here. Anyway "announce 0" works fine with the Plan9 API, there is not need for "announce *" here.
Diffstat (limited to 'sys/src/ape/lib/bsd/bind.c')
0 files changed, 0 insertions, 0 deletions