diff options
author | 2005-01-31 18:27:38 +0000 | |
---|---|---|
committer | 2005-01-31 18:27:38 +0000 | |
commit | 14fb30582c839330864a514e4db18a5a5c4f18f1 (patch) | |
tree | 235685739fd48bbe23e99fb1942df08120fdaf0b /sys | |
parent | fix botched tag. (diff) | |
download | wireguard-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