diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-04-25 15:31:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-01 22:55:29 +0200 |
commit | e3ed5cb380e615e91d99b09da9f0ead0eaf3e0b5 (patch) | |
tree | c12a427c0307188e8aa805a696b1faf26659457d /lib/sendf.c | |
parent | 799c7048dc9d5b4e4af50a4f36867742578c7663 (diff) | |
download | curl-e3ed5cb380e615e91d99b09da9f0ead0eaf3e0b5.tar.gz |
BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 0c44224bb..595c36177 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -722,7 +722,7 @@ CURLcode Curl_read(struct connectdata *conn, /* connection data */ } /* If we come here, it means that there is no data to read from the buffer, * so we read from the socket */ - bytesfromsocket = CURLMIN(sizerequested, (size_t)data->set.buffer_size); + bytesfromsocket = CURLMIN(sizerequested, MASTERBUF_SIZE); buffertofill = conn->master_buffer; } else { |