]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: FILE is not a list-only protocol
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2025 14:52:40 +0000 (16:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2025 20:46:42 +0000 (22:46 +0200)
The struct field thus does not depend on the presence of it

Closes #18525

lib/urldata.h

index a0ee614da83862d059952d38d4ef21425d6a1648..4f00c8c9a093c7bb24f3e4347d28cad8237ea948 100644 (file)
@@ -116,7 +116,7 @@ typedef unsigned int curl_prot_t;
 #define PROTO_FAMILY_SSH  (CURLPROTO_SCP|CURLPROTO_SFTP)
 
 #if !defined(CURL_DISABLE_FTP) || defined(USE_SSH) ||   \
-  !defined(CURL_DISABLE_POP3) || !defined(CURL_DISABLE_FILE)
+  !defined(CURL_DISABLE_POP3)
 /* these protocols support CURLOPT_DIRLISTONLY */
 #define CURL_LIST_ONLY_PROTOCOL 1
 #endif