mirror of
https://github.com/curl/curl.git
synced 2026-07-23 13:57:19 +03:00
the now and start variables were never really used
This commit is contained in:
parent
fa57a8a78e
commit
6a921197e2
1 changed files with 0 additions and 4 deletions
|
|
@ -174,8 +174,6 @@ CURLcode Curl_file(struct connectdata *conn)
|
|||
struct SessionHandle *data = conn->data;
|
||||
char *buf = data->state.buffer;
|
||||
curl_off_t bytecount = 0;
|
||||
struct timeval start = Curl_tvnow();
|
||||
struct timeval now = start;
|
||||
int fd;
|
||||
|
||||
/* get the fd from the connection phase */
|
||||
|
|
@ -261,11 +259,9 @@ CURLcode Curl_file(struct connectdata *conn)
|
|||
if(res)
|
||||
return res;
|
||||
|
||||
now = Curl_tvnow();
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
res = CURLE_ABORTED_BY_CALLBACK;
|
||||
}
|
||||
now = Curl_tvnow();
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
res = CURLE_ABORTED_BY_CALLBACK;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue