1
0
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:
Daniel Stenberg 2017-04-25 00:50:50 +02:00
parent f2fadf490f
commit 40a074f255

View File

@ -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(