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 --- lib/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/telnet.c') diff --git a/lib/telnet.c b/lib/telnet.c index 269b193d0..100f29099 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1327,7 +1327,7 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) curl_off_t total_ul = 0; #endif ssize_t nread; - struct timeval now; + struct curltime now; bool keepon = TRUE; char *buf = data->state.buffer; struct TELNET *tn; -- cgit v1.2.3