diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-04-25 00:16:10 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-01 22:55:29 +0200 |
commit | f535f4f5fc6cbdce1aec5a3481cec37369dca468 (patch) | |
tree | 918a8b9043e6933a7ceacb4ac32b153b2f84c54c /lib/ftp.c | |
parent | 7c312f84ea930d89c0f0f774b50032c4f9ae30e4 (diff) | |
download | curl-f535f4f5fc6cbdce1aec5a3481cec37369dca468.tar.gz |
buffer_size: make sure it always has the correct size
Removes the need for CURL_BUFSIZE
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2824,7 +2824,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) case FTP_PWD: if(ftpcode == 257) { char *ptr=&data->state.buffer[4]; /* start on the first letter */ - const size_t buf_size = CURL_BUFSIZE(data->set.buffer_size); + const size_t buf_size = data->set.buffer_size; char *dir; char *store; |