diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-25 15:06:59 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-25 15:06:59 +0000 |
commit | c811b954860c4c84af5cc99ea22d89bcbee7421e (patch) | |
tree | af06c1bf9d0185418e08abc00232375581478554 /regress | |
parent | db191d55659dd9dc19b2e3d13b370e62e0cd1c46 (diff) |
Nuke session_socket_blockmode() and session_socket_linger(). Use
the identical io_set_blocking() and io_set_linger().
Since both are always called to turn off blocking or lingering,
nuke the parameter and associated enum in favour of "just doing the
right thing".
While passing remove the unneeded last parameter to the remaining
fcntl(F_GETFL).
Finally, rename the functions to io_set_nonblocking() and
io_set_nolinger() for clarity.
No functional change.
Started with a sweep of fcntl() usage inspired by guenther@.
ok gilles@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions