gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 192/254: CURLOPT_FNMATCH_DATA.3: modified example t


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 192/254: CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues
Date: Sat, 17 Jun 2017 16:53:44 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 28baf380fa339ffdec9cba0d4bb22c3758c27428
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed May 31 13:30:04 2017 +0200

    CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues
---
 docs/libcurl/opts/CURLOPT_FNMATCH_DATA.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]