lib: build fixups when built with most things disabled

Closes #11687
This commit is contained in:
Daniel Stenberg 2023-08-17 14:18:06 +02:00
parent 793157c51b
commit acca40c9b5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 63 additions and 28 deletions

View file

@ -1237,6 +1237,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
data->set.out = va_arg(param, void *);
break;
#ifdef CURL_LIST_ONLY_PROTOCOL
case CURLOPT_DIRLISTONLY:
/*
* An option that changes the command to one that asks for a list only, no
@ -1244,7 +1245,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
*/
data->set.list_only = (0 != va_arg(param, long)) ? TRUE : FALSE;
break;
#endif
case CURLOPT_APPEND:
/*
* We want to upload and append to an existing file. Used for FTP and