diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-02-06 06:12:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-02-06 06:12:33 +0000 |
commit | b90c37b2f38d97952613e26627b3e8ebf9932112 (patch) | |
tree | 6f4cd17446da6dcf96ed53679e7c5b42e8c02869 /src/testzzuf/daemontest_post.c | |
parent | 8c8db696a0b7974b432100b8f4466f11163b66cc (diff) | |
download | libmicrohttpd-b90c37b2f38d97952613e26627b3e8ebf9932112.tar.gz libmicrohttpd-b90c37b2f38d97952613e26627b3e8ebf9932112.zip |
incompatible API change to allow 64-bit uploads and downloads on 32-bit systems
Diffstat (limited to 'src/testzzuf/daemontest_post.c')
-rw-r--r-- | src/testzzuf/daemontest_post.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testzzuf/daemontest_post.c b/src/testzzuf/daemontest_post.c index 1d6d9bc0..6323a5eb 100644 --- a/src/testzzuf/daemontest_post.c +++ b/src/testzzuf/daemontest_post.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "MHD_config.h" | 27 | #include "MHD_config.h" |
28 | #include "platform.h" | ||
28 | #include <curl/curl.h> | 29 | #include <curl/curl.h> |
29 | #include <microhttpd.h> | 30 | #include <microhttpd.h> |
30 | #include <stdlib.h> | 31 | #include <stdlib.h> |
@@ -73,7 +74,7 @@ post_iterator (void *cls, | |||
73 | const char *filename, | 74 | const char *filename, |
74 | const char *content_type, | 75 | const char *content_type, |
75 | const char *transfer_encoding, | 76 | const char *transfer_encoding, |
76 | const char *value, size_t off, size_t size) | 77 | const char *value, uint64_t off, size_t size) |
77 | { | 78 | { |
78 | int *eok = cls; | 79 | int *eok = cls; |
79 | 80 | ||
@@ -92,7 +93,7 @@ ahc_echo (void *cls, | |||
92 | const char *url, | 93 | const char *url, |
93 | const char *method, | 94 | const char *method, |
94 | const char *version, | 95 | const char *version, |
95 | const char *upload_data, unsigned int *upload_data_size, | 96 | const char *upload_data, size_t *upload_data_size, |
96 | void **unused) | 97 | void **unused) |
97 | { | 98 | { |
98 | static int eok; | 99 | static int eok; |