Skip to content
Snippets Groups Projects
Commit 6a921197 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

the now and start variables were never really used

parent fa57a8a7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment