diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-05 17:08:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-13 08:17:09 +0200 |
commit | 0e2208ada6e4c3edeb01ce242e3e2ca06084680b (patch) | |
tree | 43f3fa28be281131d37729ad420df0555fb29f20 /lib/setopt.c | |
parent | 7c70a3b1ad5e156243199642c9c0abf34f9f1d8e (diff) |
wildcard: disable from build when FTP isn't present
Diffstat (limited to 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index 6352f486a..e5450d020 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -2482,12 +2482,14 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option, case CURLOPT_FNMATCH_FUNCTION: data->set.fnmatch = va_arg(param, curl_fnmatch_callback); break; +#ifndef CURL_DISABLE_FTP case CURLOPT_CHUNK_DATA: data->wildcard.customptr = va_arg(param, void *); break; case CURLOPT_FNMATCH_DATA: data->set.fnmatch_data = va_arg(param, void *); break; +#endif #ifdef USE_TLS_SRP case CURLOPT_TLSAUTH_USERNAME: result = Curl_setstropt(&data->set.str[STRING_TLSAUTH_USERNAME_ORIG], |