aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/ftpget.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-23 14:22:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-23 14:22:52 +0000
commitd736ac51c047119c8d82df9f18b127cbcecc86c6 (patch)
tree6528e0eb712bdcb8a64cb1dd1ac02b500cf88fdb /docs/examples/ftpget.c
parente8b295ff7d2d887b0a021914ec0d31c6f186200f (diff)
downloadgnurl-d736ac51c047119c8d82df9f18b127cbcecc86c6.tar.gz
gnurl-d736ac51c047119c8d82df9f18b127cbcecc86c6.tar.bz2
gnurl-d736ac51c047119c8d82df9f18b127cbcecc86c6.zip
stripped trailing whitespace
Diffstat (limited to 'docs/examples/ftpget.c')
-rw-r--r--docs/examples/ftpget.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/examples/ftpget.c b/docs/examples/ftpget.c
index 2c2275fa5..0274b7f69 100644
--- a/docs/examples/ftpget.c
+++ b/docs/examples/ftpget.c
@@ -1,8 +1,8 @@
/*****************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
@@ -49,10 +49,14 @@ int main(void)
};
curl_global_init(CURL_GLOBAL_DEFAULT);
-
+
curl = curl_easy_init();
if(curl) {
- /* Get curl 7.9.2 from sunet.se's FTP site: */
+ /*
+ * Get curl 7.9.2 from sunet.se's FTP site. curl 7.9.2 is most likely not
+ * present there by the time you read this, so you'd better replace the
+ * URL with one that works!
+ */
curl_easy_setopt(curl, CURLOPT_URL,
"ftp://ftp.sunet.se/pub/www/utilities/curl/curl-7.9.2.tar.gz");
/* Define our callback to get called when there's data to be written */