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 /lib/pingpong.h | |
parent | 1d72b5b8916e37191108b67ddfada2d1e1e00635 (diff) | |
download | curl-5d543fe90670c1924fd2c7d6be871b3ad90c438d.tar.gz |
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 'lib/pingpong.h')
-rw-r--r-- | lib/pingpong.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pingpong.h b/lib/pingpong.h index a2c8ff592..5ac8df876 100644 --- a/lib/pingpong.h +++ b/lib/pingpong.h @@ -58,8 +58,8 @@ struct pingpong { server */ size_t sendleft; /* number of bytes left to send from the sendthis buffer */ size_t sendsize; /* total size of the sendthis buffer */ - struct curltime response; /* set to Curl_tvnow() when a command has been sent - off, used to time-out response reading */ + struct curltime response; /* set to Curl_now() when a command has been sent + off, used to time-out response reading */ long response_time; /* When no timeout is given, this is the amount of milliseconds we await for a server response. */ |