mirror of
https://github.com/curl/curl.git
synced 2026-05-14 14:16:21 +03:00
fixup comments
This commit is contained in:
parent
6b3d36ebaf
commit
e09d1fd25e
1 changed files with 4 additions and 3 deletions
|
|
@ -340,8 +340,8 @@ void Curl_pgrsStartNow(struct Curl_easy *data)
|
|||
p->ul_size_known = FALSE;
|
||||
}
|
||||
|
||||
/* this counts how much data is delivered to the application, which
|
||||
in compressed cases may differ from downloaded amount */
|
||||
/* check that the 'delta' amount of bytes are okay to deliver to the
|
||||
application, or return error if not. */
|
||||
CURLcode Curl_pgrs_deliver_check(struct Curl_easy *data, size_t delta)
|
||||
{
|
||||
if(data->set.max_filesize &&
|
||||
|
|
@ -350,7 +350,8 @@ CURLcode Curl_pgrs_deliver_check(struct Curl_easy *data, size_t delta)
|
|||
return CURLE_OK;
|
||||
}
|
||||
|
||||
/* the check is already done, this is okay */
|
||||
/* this counts how much data is delivered to the application, which
|
||||
in compressed cases may differ from downloaded amount */
|
||||
void Curl_pgrs_deliver_inc(struct Curl_easy *data, size_t delta)
|
||||
{
|
||||
data->progress.deliver += delta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue