summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/req.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-31 18:27:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-31 18:27:39 +0000
commit29f38f656947b7ba2945a774700488b989b62931 (patch)
tree61fc3c21507522622738e9d0c203b72bdb2bc84c /usr.bin/cvs/req.c
parenta3b0efe0cf4c63b069838fca20b80a3f92663520 (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/cvs/req.c')
0 files changed, 0 insertions, 0 deletions