mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
transfer: fix minor buffer_size mistake
This commit is contained in:
parent
f2fadf490f
commit
40a074f255
@ -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…
Reference in New Issue
Block a user