mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
url: fix bad #ifdef
Regression since e91e481612
.
Reported-by: Tom Greenslade
Fixes #3924
Closes #3925
This commit is contained in:
parent
c6b5813723
commit
dc0a671213
@ -439,7 +439,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
|
||||
|
||||
set->httpreq = HTTPREQ_GET; /* Default HTTP request */
|
||||
set->rtspreq = RTSPREQ_OPTIONS; /* Default RTSP request */
|
||||
#ifndef CURL_DISABLE_FILE
|
||||
#ifndef CURL_DISABLE_FTP
|
||||
set->ftp_use_epsv = TRUE; /* FTP defaults to EPSV operations */
|
||||
set->ftp_use_eprt = TRUE; /* FTP defaults to EPRT operations */
|
||||
set->ftp_use_pret = FALSE; /* mainly useful for drftpd servers */
|
||||
|
Loading…
Reference in New Issue
Block a user