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
1 changed files with 1 additions and 2 deletions

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(