aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/10-at-a-time.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
commitb12fef3f3137bc606d283a2e527dd9050edf2b12 (patch)
tree1dd1c8756405c783cb0c0935eb9870b8c639e089 /docs/examples/10-at-a-time.c
parent6cc8df95dd11cc24ffd8b9c64bb4a3ca5eeae1b7 (diff)
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...
Diffstat (limited to 'docs/examples/10-at-a-time.c')
-rw-r--r--docs/examples/10-at-a-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c
index 99a031103..b30efc075 100644
--- a/docs/examples/10-at-a-time.c
+++ b/docs/examples/10-at-a-time.c
@@ -77,7 +77,7 @@ static const char *urls[] = {
#define MAX 10 /* number of simultaneous transfers */
#define CNT sizeof(urls)/sizeof(char*) /* total number of transfers to do */
-static int cb(char *d, size_t n, size_t l, void *p)
+static size_t cb(char *d, size_t n, size_t l, void *p)
{
/* take care of the data here, ignored in this example */
(void)d;