From 5d543fe90670c1924fd2c7d6be871b3ad90c438d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 25 Oct 2017 11:59:43 +0200 Subject: 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 --- tests/unit/unit1399.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/unit1399.c') 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; -- cgit v1.2.3