diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-04-25 14:37:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-01 22:55:29 +0200 |
commit | 89cf6f38d2f525cbc8537a60061f5f37bb2f35f7 (patch) | |
tree | a2fdfc517d34c0c25dc75742b02b1d2787f8abb4 /lib/smb.c | |
parent | 8ed81f67c2a3783c04e52b16d39bf998bd998c06 (diff) | |
download | curl-89cf6f38d2f525cbc8537a60061f5f37bb2f35f7.tar.gz |
upload: UPLOAD_BUFSIZE is now for the upload buffer
Diffstat (limited to 'lib/smb.c')
-rw-r--r-- | lib/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -607,7 +607,7 @@ static CURLcode smb_send_and_recv(struct connectdata *conn, void **msg) /* Check if there is data in the transfer buffer */ if(!smbc->send_size && smbc->upload_size) { - int nread = smbc->upload_size > BUFSIZE ? BUFSIZE : + int nread = smbc->upload_size > UPLOAD_BUFSIZE ? UPLOAD_BUFSIZE : (int) smbc->upload_size; conn->data->req.upload_fromhere = conn->data->state.uploadbuffer; result = Curl_fillreadbuffer(conn, nread, &nread); |