]> granicus.if.org Git - curl/commitdiff
url: fix bad #ifdef
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 May 2019 11:28:22 +0000 (13:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 May 2019 07:06:48 +0000 (09:06 +0200)
Regression since e91e48161235272ff485.

Reported-by: Tom Greenslade
Fixes #3924
Closes #3925

lib/url.c

index 5b4b00eacdf8a5a7fcc8e6c4b3c76387e997173e..db76fa65662fca4d19d7d28c50c9a5e5b2f0b3ac 100644 (file)
--- 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 */