summaryrefslogtreecommitdiff
path: root/lib/select.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-09 16:31:51 +0000
committerYang Tse <yangsita@gmail.com>2008-05-09 16:31:51 +0000
commit19479ea0217c93fd2973168084d1bb724eb8a34f (patch)
treea8b59cbb90c38f93c414ec5bebee3c60bd5ae887 /lib/select.c
parentd708ef6731445a84a3d0499a4b13fd09a0dd0520 (diff)
downloadcurl-19479ea0217c93fd2973168084d1bb724eb8a34f.tar.gz
Internal time differences now use monotonic time source if available.
This also implies the removal of the winmm.lib dependency for WIN32.
Diffstat (limited to 'lib/select.c')
-rw-r--r--lib/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/select.c b/lib/select.c
index c305bc9fa..847933ee9 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -184,7 +184,7 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
return r;
}
- /* Avoid initial timestamp, avoid gettimeofday() call, when elapsed
+ /* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
time in this function does not need to be measured. This happens
when function is called with a zero timeout or a negative timeout
value indicating a blocking call should be performed. */
@@ -368,7 +368,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
return r;
}
- /* Avoid initial timestamp, avoid gettimeofday() call, when elapsed
+ /* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
time in this function does not need to be measured. This happens
when function is called with a zero timeout or a negative timeout
value indicating a blocking call should be performed. */