aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-31 13:30:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-31 13:30:04 +0200
commit28baf380fa339ffdec9cba0d4bb22c3758c27428 (patch)
tree6a6494847d105b63579881a79a7cdd1f5d41ba3e /docs
parent4600362a5af3970bbaef545af1d7a6cf90201127 (diff)
CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/opts/CURLOPT_FNMATCH_DATA.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_FNMATCH_DATA.3 b/docs/libcurl/opts/CURLOPT_FNMATCH_DATA.3
index 6cf506ed0..88f3ba662 100644
--- a/docs/libcurl/opts/CURLOPT_FNMATCH_DATA.3
+++ b/docs/libcurl/opts/CURLOPT_FNMATCH_DATA.3
@@ -50,7 +50,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);