diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-31 13:36:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-31 13:36:51 +0200 |
commit | f072393febfc8dfefa88a8c0f9d04c4312810779 (patch) | |
tree | d22f106e00417bfa1af398f4798abdac780102b1 /docs/libcurl/opts | |
parent | 28baf380fa339ffdec9cba0d4bb22c3758c27428 (diff) |
CURLOPT_FNMATCH_FUNCTION.3: also modified example to avoid fcpp issues
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.3 b/docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.3 index 4ebdedfb0..7a79ad8a7 100644 --- a/docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.3 @@ -60,7 +60,7 @@ static int my_fnmatch(void *clientp, { struct local_stuff local_data; - curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.example.com/*txt"); + curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.example.com/file*"); curl_easy_setopt(curl, CURLOPT_WILDCARDMATCH, 1L); curl_easy_setopt(curl, CURLOPT_FNMATCH_FUNCTION, my_fnmatch); curl_easy_setopt(curl, CURLOPT_FNMATCH_DATA, &local_data); |