summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/forward.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-25 15:06:59 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-25 15:06:59 +0000
commitc811b954860c4c84af5cc99ea22d89bcbee7421e (patch)
treeaf06c1bf9d0185418e08abc00232375581478554 /usr.sbin/smtpd/forward.c
parentdb191d55659dd9dc19b2e3d13b370e62e0cd1c46 (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 'usr.sbin/smtpd/forward.c')
0 files changed, 0 insertions, 0 deletions