summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-01-31 18:27:38 +0000
committermillert <millert@openbsd.org>2005-01-31 18:27:38 +0000
commit14fb30582c839330864a514e4db18a5a5c4f18f1 (patch)
tree235685739fd48bbe23e99fb1942df08120fdaf0b /sys
parentfix botched tag. (diff)
downloadwireguard-openbsd-14fb30582c839330864a514e4db18a5a5c4f18f1.tar.xz
wireguard-openbsd-14fb30582c839330864a514e4db18a5a5c4f18f1.zip
Don't malloc fds each time, just realloc() as needed.
There's no need to clear revents -- poll() does that for us. Move setting of cur_time to the top of the loop for better accuracy. When poll returns 0, don't check revents since we know none were set.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions