diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-07-12 21:11:10 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-07-12 21:11:10 +0000 |
commit | 49ce3e5160a9576e797bf87cef012b09d1c54ecb (patch) | |
tree | 9b8e476de272cfd92bb3d857aa3c6eef273140b7 /docs/examples/multithread.c | |
parent | 4a728747e6f8845e500910e397dfc99aaf4a7984 (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/multithread.c')
-rw-r--r-- | docs/examples/multithread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multithread.c b/docs/examples/multithread.c index fc9a9a87c..78c3a157a 100644 --- a/docs/examples/multithread.c +++ b/docs/examples/multithread.c @@ -24,7 +24,7 @@ http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION */ -char *urls[]= { +const char *urls[]= { "http://curl.haxx.se/", "ftp://cool.haxx.se/", "http://www.contactor.se/", @@ -59,7 +59,7 @@ int main(int argc, char **argv) error = pthread_create(&tid[i], NULL, /* default attributes please */ pull_one_url, - urls[i]); + (void *)urls[i]); if(0 != error) fprintf(stderr, "Couldn't run thread number %d, errno %d\n", i, error); else |