← Commit list

b85acacec9

Daniel Stenberg
Daniel Stenberg
2026-09-17
SUCCESS Duration: 387s

Subject

ftplistparser: only use the list parser in CURLWC_MATCHING state

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/ftplistparser.c+1 -1
@@ -1017,7 +1017,7 @@ bool Curl_ftp_listmode(struct Curl_easy *data)
{
if(data->state.wildcardmatch) {
struct WildcardData * const wildcard = data->wildcard;
- return wildcard && (wildcard->state <= CURLWC_MATCHING);
+ return wildcard && (wildcard->state == CURLWC_MATCHING);
}
return FALSE;
}