diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-10-25 11:59:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-25 18:48:05 +0200 |
commit | 5d543fe90670c1924fd2c7d6be871b3ad90c438d (patch) | |
tree | d3d4f945d97ff52ab51c30b278f3d16e74e96883 /tests | |
parent | 1d72b5b8916e37191108b67ddfada2d1e1e00635 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/unit1399.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1399.c b/tests/unit/unit1399.c index 91fd3dae1..897a34319 100644 --- a/tests/unit/unit1399.c +++ b/tests/unit/unit1399.c @@ -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; |