gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 88/154: attempt fix


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 88/154: attempt fix
Date: Mon, 19 Aug 2019 10:16:40 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 9ec1b5df5e488ab1ab06dec156f1868fd32478f5
Author: ng0 <address@hidden>
AuthorDate: Thu Jul 25 17:49:05 2019 +0000

    attempt fix
---
 src/microhttpd/mhd_send.c | 2 +-
 src/microhttpd/mhd_send.h | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 4758b502..354b9349 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -712,7 +712,7 @@ MHD_conn_init_static_ (void)
  * @param connection the MHD connection structure
  * @return actual number of bytes sent
  */
-static ssize_t
+ssize_t
 sendfile_adapter (struct MHD_Connection *connection)
 {
   bool want_cork = false;
diff --git a/src/microhttpd/mhd_send.h b/src/microhttpd/mhd_send.h
index 490c8c9b..4974adcd 100644
--- a/src/microhttpd/mhd_send.h
+++ b/src/microhttpd/mhd_send.h
@@ -114,6 +114,11 @@ MHD_send_socket_state_cork_nodelay_ (struct MHD_Connection 
*connection,
                                      bool nodelay_value,
                                      bool nodelay_state);
 
-static ssize_t
+#if defined(_MHD_HAVE_SENDFILE)
+ssize_t
 sendfile_adapter (struct MHD_Connection *connection);
+#endif
+
+void
+MHD_conn_init_static_ (void);
 #endif /* MHD_SEND_H */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]