mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05: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->httpreq = HTTPREQ_GET; /* Default HTTP request */
|
||||||
set->rtspreq = RTSPREQ_OPTIONS; /* Default RTSP 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_epsv = TRUE; /* FTP defaults to EPSV operations */
|
||||||
set->ftp_use_eprt = TRUE; /* FTP defaults to EPRT operations */
|
set->ftp_use_eprt = TRUE; /* FTP defaults to EPRT operations */
|
||||||
set->ftp_use_pret = FALSE; /* mainly useful for drftpd servers */
|
set->ftp_use_pret = FALSE; /* mainly useful for drftpd servers */
|
||||||
|
Loading…
Reference in New Issue
Block a user