ftp wildcard: a new option CURLOPT_FNMATCH_DATA

This commit is contained in:
Kamil Dudka
2010-05-16 02:49:08 +02:00
parent 027ceb37a1
commit 2ffe834bff
11 changed files with 27 additions and 10 deletions

View File

@@ -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);