diff options
author | Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> | 2022-06-10 20:22:39 +0000 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2022-06-10 20:22:39 +0000 |
commit | d618223086e32bc26d64eb20bfcb3de31536782f (patch) | |
tree | 9faf5d3e53bcc768b9bd00eeb46ae6ecc49ee5b7 /sys/src/ape/lib/bsd/bind.c | |
parent | 9fc38d43d45185c25cf74361b4bb778c611b015d (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