From 2ffe834bffa893efcd8942736ab14e311a0087b3 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Sun, 16 May 2010 02:49:08 +0200 Subject: ftp wildcard: a new option CURLOPT_FNMATCH_DATA --- lib/curl_fnmatch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/curl_fnmatch.c') diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c index 9628844ad..91485a52d 100644 --- a/lib/curl_fnmatch.c +++ b/lib/curl_fnmatch.c @@ -401,8 +401,10 @@ static int loop(const unsigned char *pattern, const unsigned char *string) } } -int Curl_fnmatch(const char *pattern, const char *string) +int Curl_fnmatch(void *ptr, const char *pattern, const char *string) { + (void)ptr; /* the argument is specified by the curl_fnmatch_callback + prototype, but not used by Curl_fnmatch() */ if(!pattern || !string) { return CURL_FNMATCH_FAIL; } -- cgit v1.2.3