diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-01-31 18:27:39 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-01-31 18:27:39 +0000 |
commit | 29f38f656947b7ba2945a774700488b989b62931 (patch) | |
tree | 61fc3c21507522622738e9d0c203b72bdb2bc84c /usr.bin/logger | |
parent | a3b0efe0cf4c63b069838fca20b80a3f92663520 (diff) |
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 'usr.bin/logger')
0 files changed, 0 insertions, 0 deletions