commit 4a251757ab5c98c9d747e73f310d0c28cf991b05
parent a85f2baa9d6afb67c4eeaacc3bdfabf207e92c0c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 7 Jul 2015 18:32:21 +0000
daemon.c: cosmetics
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -1112,11 +1112,10 @@ send_param_adapter (struct MHD_Connection *connection,
{
/* can use sendfile */
uint64_t left;
-#ifndef HAVE_SENDFILE64
uint64_t offsetu64;
+#ifndef HAVE_SENDFILE64
off_t offset;
#else /* HAVE_SENDFILE64 */
- uint64_t offsetu64;
off64_t offset;
#endif /* HAVE_SENDFILE64 */
offsetu64 = connection->response_write_position + connection->response->fd_off;