commit d22012f34da6e518ab178f9ee7c4a0f53c3d08d6
parent 2aa0b2234d89cd6fa98b60430e86a66fac4f2a3e
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 18 Jan 2016 21:09:06 +0000
-indenting
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
@@ -429,7 +429,9 @@ MHD_create_response_from_fd_at_offset64 (uint64_t size,
(size > (uint64_t)INT32_MAX || offset > (uint64_t)INT32_MAX || (size + offset) >= (uint64_t)INT32_MAX))
return NULL;
#endif
- if ((int64_t)size < 0 || (int64_t)offset < 0 || (int64_t)(size + offset) < 0)
+ if ( ((int64_t)size < 0) ||
+ ((int64_t)offset < 0) ||
+ ((int64_t)(size + offset) < 0) )
return NULL;
response = MHD_create_response_from_callback (size,
@@ -477,8 +479,8 @@ MHD_create_response_from_fd (size_t size,
* @ingroup response
*/
_MHD_EXTERN struct MHD_Response *
-MHD_create_response_from_fd64(uint64_t size,
- int fd)
+MHD_create_response_from_fd64 (uint64_t size,
+ int fd)
{
return MHD_create_response_from_fd_at_offset64 (size, fd, 0);
}