mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
curltime: use libcurl time functions in src and tests/server
The curl tool and tests/server used 2 parallel implementations of libcurl's `Curl_now()` and `Curl_timediff()` functions. Make them use the libcurl one. Closes #16653
This commit is contained in:
parent
b1faac8039
commit
436d4a360a
20 changed files with 129 additions and 292 deletions
|
|
@ -31,7 +31,7 @@
|
|||
struct ProgressData {
|
||||
int calls;
|
||||
curl_off_t prev;
|
||||
struct timeval prevtime;
|
||||
struct curltime prevtime;
|
||||
int width;
|
||||
FILE *out; /* where to write everything to */
|
||||
curl_off_t initial_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue