mirror of
https://github.com/curl/curl.git
synced 2026-08-26 09:23:31 +03:00
parent
bbe3aa9f88
commit
a304051620
30 changed files with 572 additions and 574 deletions
|
|
@ -1259,7 +1259,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
}
|
||||
}
|
||||
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
if(Curl_pgrsUpdate(data))
|
||||
result = CURLE_ABORTED_BY_CALLBACK;
|
||||
else
|
||||
result = Curl_speedcheck(data, k->now);
|
||||
|
|
@ -1318,7 +1318,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
failf(data, "transfer closed with outstanding read data remaining");
|
||||
return CURLE_PARTIAL_FILE;
|
||||
}
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
if(Curl_pgrsUpdate(data))
|
||||
return CURLE_ABORTED_BY_CALLBACK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue