From d67b93a2c6c9f0b65f49b24d1b43b7c18511689c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Jul 2019 18:10:31 +0200 Subject: indent --- src/microhttpd/connection.c | 14 +++++++------- src/microhttpd/response.c | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/microhttpd') diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 03f8e192..fdabdbcb 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -3420,13 +3420,13 @@ MHD_connection_handle_write (struct MHD_Connection *connection) } else { - ret = MHD_send_on_connection2_ (connection, - &connection->write_buffer - [connection->write_buffer_send_offset], - connection->write_buffer_append_offset - - connection->write_buffer_send_offset, - connection->response->data, - connection->response->data_buffer_size); + ret = MHD_send_on_connection2_ (connection, + &connection->write_buffer + [connection->write_buffer_send_offset], + connection->write_buffer_append_offset - + connection->write_buffer_send_offset, + connection->response->data, + connection->response->data_buffer_size); } if (ret < 0) diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index 035e3054..6e569d77 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c @@ -195,7 +195,7 @@ MHD_add_response_footer (struct MHD_Response *response, int MHD_del_response_header (struct MHD_Response *response, const char *header, - const char *content) + const char *content) { struct MHD_HTTP_Header *pos; struct MHD_HTTP_Header *prev; @@ -558,8 +558,8 @@ free_callback (void *cls) */ struct MHD_Response * MHD_create_response_from_fd_at_offset (size_t size, - int fd, - off_t offset) + int fd, + off_t offset) { return MHD_create_response_from_fd_at_offset64 (size, fd, @@ -604,9 +604,9 @@ MHD_create_response_from_fd_at_offset64 (uint64_t size, response = MHD_create_response_from_callback (size, MHD_FILE_READ_BLOCK_SIZE, - &file_reader, - NULL, - &free_callback); + &file_reader, + NULL, + &free_callback); if (NULL == response) return NULL; response->fd = fd; @@ -627,7 +627,7 @@ MHD_create_response_from_fd_at_offset64 (uint64_t size, */ struct MHD_Response * MHD_create_response_from_fd (size_t size, - int fd) + int fd) { return MHD_create_response_from_fd_at_offset64 (size, fd, -- cgit v1.2.3