diff options
Diffstat (limited to 'docs/examples/multi-single.c')
-rw-r--r-- | docs/examples/multi-single.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c index 1df944427..47e23f5a9 100644 --- a/docs/examples/multi-single.c +++ b/docs/examples/multi-single.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -19,10 +19,7 @@ * KIND, either express or implied. * ***************************************************************************/ -/* <DESC> - * using the multi interface to do a single download - * </DESC> - */ +/* This is a very simple example using the multi interface. */ #include <stdio.h> #include <string.h> @@ -79,12 +76,12 @@ int main(void) if(mc != CURLM_OK) { - fprintf(stderr, "curl_multi_wait() failed, code %d.\n", mc); + fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); break; } /* 'numfds' being zero means either a timeout or no file descriptors to - wait for. Try timeout on first occurrence, then assume no file + wait for. Try timeout on first occurance, then assume no file descriptors and no file descriptors to wait for means wait for 100 milliseconds. */ |