From 4dee50b9c80f9b18d2eb9a1c20bd879abb342302 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 28 Jul 2017 15:49:36 +0200 Subject: timeval: struct curltime is a struct timeval replacement ... to make all libcurl internals able to use the same data types for the struct members. The timeval struct differs subtly on several platforms so it makes it cumbersome to use everywhere. Ref: #1652 Closes #1693 --- 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 d951504ea..82e0dc27e 100644 --- a/tests/unit/unit1399.c +++ b/tests/unit/unit1399.c @@ -48,7 +48,7 @@ static bool usec_matches_seconds(time_t time_usec, int expected_seconds) UNITTEST_START struct Curl_easy data; - struct timeval now = Curl_tvnow(); + struct curltime now = Curl_tvnow(); data.progress.t_starttransfer = 0; data.progress.t_redirect = 0; -- cgit v1.2.3