aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-app.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-07-12 21:11:10 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-07-12 21:11:10 +0000
commit49ce3e5160a9576e797bf87cef012b09d1c54ecb (patch)
tree9b8e476de272cfd92bb3d857aa3c6eef273140b7 /docs/examples/multi-app.c
parent4a728747e6f8845e500910e397dfc99aaf4a7984 (diff)
Fixed some compile warnings and errors and improved portability in the
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
Diffstat (limited to 'docs/examples/multi-app.c')
-rw-r--r--docs/examples/multi-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c
index 6c0ef7e7f..5969c91c8 100644
--- a/docs/examples/multi-app.c
+++ b/docs/examples/multi-app.c
@@ -47,7 +47,7 @@ int main(int argc, char **argv)
curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://website.com");
curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://ftpsite.com");
- curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, TRUE);
+ curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1);
/* init a multi stack */
multi_handle = curl_multi_init();