mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:17:15 +03:00
transfer: fix minor buffer_size mistake
This commit is contained in:
parent
f2fadf490f
commit
40a074f255
1 changed files with 1 additions and 2 deletions
|
|
@ -405,8 +405,7 @@ static CURLcode readwrite_data(struct Curl_easy *data,
|
|||
/* This is where we loop until we have read everything there is to
|
||||
read or we get a CURLE_AGAIN */
|
||||
do {
|
||||
size_t buffersize = data->set.buffer_size?
|
||||
data->set.buffer_size : BUFSIZE;
|
||||
size_t buffersize = data->set.buffer_size;
|
||||
size_t bytestoread = buffersize;
|
||||
|
||||
if(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue