mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:13:32 +03:00
ftp wildcard: a new option CURLOPT_FNMATCH_DATA
This commit is contained in:
parent
027ceb37a1
commit
2ffe834bff
11 changed files with 27 additions and 10 deletions
|
|
@ -231,7 +231,7 @@ int test(char *URL)
|
|||
|
||||
printf("===========================\n");
|
||||
for(i = 0; i < testnum; i++) {
|
||||
rc = Curl_fnmatch(tests[i].pattern, tests[i].string);
|
||||
rc = Curl_fnmatch(NULL, tests[i].pattern, tests[i].string);
|
||||
if(rc != tests[i].result) {
|
||||
printf("Curl_fnmatch(\"%s\", \"%s\") should return %d (returns %d)\n",
|
||||
tests[i].pattern, tests[i].string, tests[i].result, rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue