mirror of
https://github.com/curl/curl.git
synced 2026-07-25 14:47:26 +03:00
time: rename Curl_tvnow to Curl_now
... since the 'tv' stood for timeval and this function does not return a timeval struct anymore. Also, cleaned up the Curl_timediff*() functions to avoid typecasts and clean up the descriptive comments. Closes #2011
This commit is contained in:
parent
1d72b5b891
commit
5d543fe906
23 changed files with 73 additions and 83 deletions
|
|
@ -80,7 +80,7 @@ static void expect_timer_seconds(struct Curl_easy *data, int seconds)
|
|||
* be 3 seconds. */
|
||||
UNITTEST_START
|
||||
struct Curl_easy data;
|
||||
struct curltime now = Curl_tvnow();
|
||||
struct curltime now = Curl_now();
|
||||
|
||||
data.progress.t_nslookup = 0;
|
||||
data.progress.t_connect = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue