[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 04/04: sendfile_adapter(): fixed indentatio
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 04/04: sendfile_adapter(): fixed indentation |
Date: |
Sun, 01 Oct 2017 16:02:57 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 02ff959e7dd1d7dab169d3be059d5b92a8e9a558
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Oct 1 17:02:38 2017 +0300
sendfile_adapter(): fixed indentation
---
src/microhttpd/connection.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index d80eabc5..3f62144a 100644
--- 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)
{
--
To stop receiving notification emails like this one, please contact
address@hidden