From: Daniel Stenberg Date: Wed, 22 May 2019 11:28:22 +0000 (+0200) Subject: url: fix bad #ifdef X-Git-Tag: curl-7_65_1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc0a671213fa94489933755828b26f5807d61a7a;p=curl url: fix bad #ifdef Regression since e91e48161235272ff485. Reported-by: Tom Greenslade Fixes #3924 Closes #3925 --- diff --git a/lib/url.c b/lib/url.c index 5b4b00eac..db76fa656 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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 */