mirror of
https://github.com/curl/curl.git
synced 2026-07-16 02:17:15 +03:00
urldata: FILE is not a list-only protocol
The struct field thus does not depend on the presence of it Closes #18525
This commit is contained in:
parent
c184f464f7
commit
16cd81ed69
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue