diff options
Diffstat (limited to 'doc/chapters/processingpost.inc')
-rw-r--r-- | doc/chapters/processingpost.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/chapters/processingpost.inc b/doc/chapters/processingpost.inc index 0677c7e8..f1085ce8 100644 --- a/doc/chapters/processingpost.inc +++ b/doc/chapters/processingpost.inc | |||
@@ -75,7 +75,7 @@ came in. But in this example, the name is assumed to fit entirely inside one sin | |||
75 | @verbatim | 75 | @verbatim |
76 | int iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key, | 76 | int iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key, |
77 | const char *filename, const char *content_type, | 77 | const char *filename, const char *content_type, |
78 | const char *transfer_encoding, const char *data, size_t off, size_t size) | 78 | const char *transfer_encoding, const char *data, uint64_t off, size_t size) |
79 | { | 79 | { |
80 | struct connection_info_struct *con_info = (struct connection_info_struct*) coninfo_cls; | 80 | struct connection_info_struct *con_info = (struct connection_info_struct*) coninfo_cls; |
81 | 81 | ||
@@ -150,7 +150,7 @@ iterations and other functions. | |||
150 | @verbatim | 150 | @verbatim |
151 | int answer_to_connection (void *cls, struct MHD_Connection *connection, const char *url, | 151 | int answer_to_connection (void *cls, struct MHD_Connection *connection, const char *url, |
152 | const char *method, const char *version, const char *upload_data, | 152 | const char *method, const char *version, const char *upload_data, |
153 | unsigned int *upload_data_size, void **con_cls) | 153 | size_t *upload_data_size, void **con_cls) |
154 | { | 154 | { |
155 | if(NULL == *con_cls) | 155 | if(NULL == *con_cls) |
156 | { | 156 | { |