summaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-25 14:37:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-01 22:55:29 +0200
commit89cf6f38d2f525cbc8537a60061f5f37bb2f35f7 (patch)
treea2fdfc517d34c0c25dc75742b02b1d2787f8abb4 /lib/file.c
parent8ed81f67c2a3783c04e52b16d39bf998bd998c06 (diff)
downloadcurl-89cf6f38d2f525cbc8537a60061f5f37bb2f35f7.tar.gz
upload: UPLOAD_BUFSIZE is now for the upload buffer
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c
index 4b1017c6f..dc458db1f 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -360,7 +360,7 @@ static CURLcode file_upload(struct connectdata *conn)
while(!result) {
int readcount;
- result = Curl_fillreadbuffer(conn, BUFSIZE, &readcount);
+ result = Curl_fillreadbuffer(conn, (int)data->set.buffer_size, &readcount);
if(result)
break;