aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib525.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-20 00:07:19 +0000
committerYang Tse <yangsita@gmail.com>2007-04-20 00:07:19 +0000
commit61022f3817dc7bc4d7b75d5e948b838ea0c5edc1 (patch)
treefc23b631f130b7226b34867dc289e588fb6add60 /tests/libtest/lib525.c
parentbf648fcfc34a91981d9d5e00b265d4a19068fdcf (diff)
- Save one call to curlx_tvnow(), which calls gettimeofday(), in each of
Curl_socket_ready(), Curl_poll() and Curl_select() when these are called with a zero timeout or a timeout value indicating a blocking call should be performed. These unnecessary calls to gettimeofday() got introduced in 7.16.2 when fixing 'timeout would restart when signal caught while awaiting socket events' on 20 March 2007. - Move some loop breaking logic from the while clause into the loop, avoiding compiler warning 'assignment within conditional expression'
Diffstat (limited to 'tests/libtest/lib525.c')
0 files changed, 0 insertions, 0 deletions