aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 3b13b52cc..ac47258bc 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3509,7 +3509,7 @@ static CURLcode init_wc_data(struct connectdata *conn)
path[0] = '\0';
}
else { /* only list */
- conn->data->set.wildcardmatch = FALSE;
+ wildcard->state = CURLWC_CLEAN;
ret = ftp_parse_url_path(conn);
return ret;
}