commit 02ff959e7dd1d7dab169d3be059d5b92a8e9a558
parent 5ac497e212525a12209a3c1007a129ae85055cf7
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 1 Oct 2017 17:02:38 +0300
sendfile_adapter(): fixed indentation
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -256,22 +256,22 @@ sendfile_adapter (struct MHD_Connection *connection)
connection->resp_sender = MHD_resp_sender_std;
return MHD_ERR_AGAIN_;
}
- offset = (off_t) offsetu64;
- ret = sendfile (connection->socket_fd,
- file_fd,
- &offset,
- send_size);
+ offset = (off_t) offsetu64;
+ ret = sendfile (connection->socket_fd,
+ file_fd,
+ &offset,
+ send_size);
#else /* HAVE_SENDFILE64 */
if ((uint64_t)OFF64_T_MAX < offsetu64)
{ /* Retry to send with standard 'send()'. */
connection->resp_sender = MHD_resp_sender_std;
return MHD_ERR_AGAIN_;
}
- offset = (off64_t) offsetu64;
- ret = sendfile64 (connection->socket_fd,
- file_fd,
- &offset,
- send_size);
+ offset = (off64_t) offsetu64;
+ ret = sendfile64 (connection->socket_fd,
+ file_fd,
+ &offset,
+ send_size);
#endif /* HAVE_SENDFILE64 */
if (0 > ret)
{