summaryrefslogtreecommitdiff
path: root/docs/examples/ftpgetresp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-10-05 15:00:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-10-05 15:00:19 +0200
commit18e7b52e8e95f7204d8ef7ff0f0ff0043afe45a9 (patch)
tree16916d3680982a91be43e16cad44df14d3dd6d7b /docs/examples/ftpgetresp.c
parent6d272e53a2b109400c1ee9a31ffa40f288459b41 (diff)
downloadgnurl-18e7b52e8e95f7204d8ef7ff0f0ff0043afe45a9.tar.gz
gnurl-18e7b52e8e95f7204d8ef7ff0f0ff0043afe45a9.tar.bz2
gnurl-18e7b52e8e95f7204d8ef7ff0f0ff0043afe45a9.zip
examples: use example.com in example URLs
Diffstat (limited to 'docs/examples/ftpgetresp.c')
-rw-r--r--docs/examples/ftpgetresp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpgetresp.c b/docs/examples/ftpgetresp.c
index 8d837f36f..2122c4f68 100644
--- a/docs/examples/ftpgetresp.c
+++ b/docs/examples/ftpgetresp.c
@@ -43,7 +43,7 @@ int main(int argc, char **argv)
curl = curl_easy_init();
if(curl) {
/* Get a file listing from sunet */
- curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.sunet.se/");
+ curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.example.com/");
curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile);
/* If you intend to use this on windows with a libcurl DLL, you must use
CURLOPT_WRITEFUNCTION as well */