]> granicus.if.org Git - curl/commitdiff
select: update comments
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Oct 2017 15:40:28 +0000 (16:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 30 Oct 2017 15:40:28 +0000 (16:40 +0100)
s/curlx_tvnow/Curl_now

lib/select.c

index d298688415490bc2a327fc1e1cc3be1f3a9d452e..28390a4a6a8e65d9d6b6d3a0a00420f77a40ea6a 100644 (file)
@@ -177,7 +177,7 @@ int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */
     return r;
   }
 
-  /* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
+  /* Avoid initial timestamp, avoid Curl_now() 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. */
@@ -418,7 +418,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
     return r;
   }
 
-  /* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
+  /* Avoid initial timestamp, avoid Curl_now() 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. */