aboutsummaryrefslogtreecommitdiff
path: root/src/lib/response_from_callback.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-17 16:56:41 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-17 16:56:41 +0200
commit972103dc288e2a2396e060018e7c3733f29a940d (patch)
treeaeb0b3a182d5168f12752928d3204342c9581e91 /src/lib/response_from_callback.c
parentcbbfd0591fc639ddd21a5850f54f403fb7394174 (diff)
downloadlibmicrohttpd-972103dc288e2a2396e060018e7c3733f29a940d.tar.gz
libmicrohttpd-972103dc288e2a2396e060018e7c3733f29a940d.zip
applying uncrustify to ensure uniform indentation
Diffstat (limited to 'src/lib/response_from_callback.c')
-rw-r--r--src/lib/response_from_callback.c14
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 */
45struct MHD_Response * 45struct MHD_Response *
46MHD_response_from_callback (enum MHD_HTTP_StatusCode sc, 46MHD_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;