diff options
author | tb <> | 2024-08-05 07:16:30 +0000 |
---|---|---|
committer | tb <> | 2024-08-05 07:16:30 +0000 |
commit | a6a88f9bd8328ce2e9ea13e316379f5f3ab485ea (patch) | |
tree | 9bade2d207dcdff94a2dae29a7c7cbac616d5669 /src/lib/libc/string | |
parent | b06a5f483323abf6b2173be4a8056e05bddfcd63 (diff) | |
download | openbsd-a6a88f9bd8328ce2e9ea13e316379f5f3ab485ea.tar.gz openbsd-a6a88f9bd8328ce2e9ea13e316379f5f3ab485ea.tar.bz2 openbsd-a6a88f9bd8328ce2e9ea13e316379f5f3ab485ea.zip |
Remove bogus connect(s, NULL, 0) call
The only thing it does is error because of a check added in sockargs() in
uipc_syscalls r1.155. As guenther pointed out, this may have been added
because of a misreading of the last sentence of the first paragraph of the
connect(2) manual.
Instead of erroring, this will keep listening if -k is given and otherwise
it will close the socket and exit with success.
ok guenther jeremy
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions