mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:03:32 +03:00
wildcard: disable from build when FTP isn't present
This commit is contained in:
parent
7c70a3b1ad
commit
0e2208ada6
7 changed files with 28 additions and 6 deletions
|
|
@ -1506,6 +1506,7 @@ CURLcode Curl_pretransfer(struct Curl_easy *data)
|
|||
data->state.authhost.picked &= data->state.authhost.want;
|
||||
data->state.authproxy.picked &= data->state.authproxy.want;
|
||||
|
||||
#ifndef CURL_DISABLE_FTP
|
||||
if(data->state.wildcardmatch) {
|
||||
struct WildcardData *wc = &data->wildcard;
|
||||
if(wc->state < CURLWC_INIT) {
|
||||
|
|
@ -1514,6 +1515,7 @@ CURLcode Curl_pretransfer(struct Curl_easy *data)
|
|||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue