url: fix bad #ifdef

Regression since e91e481612.

Reported-by: Tom Greenslade
Fixes #3924
Closes #3925
This commit is contained in:
Daniel Stenberg 2019-05-22 13:28:22 +02:00
parent c6b5813723
commit dc0a671213
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 */