diff options
Diffstat (limited to 'src/lib/response_from_callback.c')
-rw-r--r-- | src/lib/response_from_callback.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/response_from_callback.c b/src/lib/response_from_callback.c index 1fd65bf0..e00033ce 100644 --- a/src/lib/response_from_callback.c +++ b/src/lib/response_from_callback.c | |||
@@ -44,11 +44,11 @@ | |||
44 | */ | 44 | */ |
45 | struct MHD_Response * | 45 | struct MHD_Response * |
46 | MHD_response_from_callback (enum MHD_HTTP_StatusCode sc, | 46 | MHD_response_from_callback (enum MHD_HTTP_StatusCode sc, |
47 | uint64_t size, | 47 | uint64_t size, |
48 | size_t block_size, | 48 | size_t block_size, |
49 | MHD_ContentReaderCallback crc, | 49 | MHD_ContentReaderCallback crc, |
50 | void *crc_cls, | 50 | void *crc_cls, |
51 | MHD_ContentReaderFreeCallback crfc) | 51 | MHD_ContentReaderFreeCallback crfc) |
52 | { | 52 | { |
53 | struct MHD_Response *response; | 53 | struct MHD_Response *response; |
54 | 54 | ||
@@ -56,8 +56,8 @@ MHD_response_from_callback (enum MHD_HTTP_StatusCode sc, | |||
56 | mhd_assert (0 != block_size); | 56 | mhd_assert (0 != block_size); |
57 | if (NULL == | 57 | if (NULL == |
58 | (response = MHD_calloc_ (1, | 58 | (response = MHD_calloc_ (1, |
59 | sizeof (struct MHD_Response) + | 59 | sizeof (struct MHD_Response) |
60 | block_size))) | 60 | + block_size))) |
61 | return NULL; | 61 | return NULL; |
62 | response->fd = -1; | 62 | response->fd = -1; |
63 | response->status_code = sc; | 63 | response->status_code = sc; |