aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-08-02 09:08:51 +0000
committerng0 <ng0@n0.is>2019-08-02 09:08:51 +0000
commitb98ad354ca1ec1d88e2cc1da5a67e7da11b9f6c4 (patch)
tree3345a4272deb70a55f99a14e36d4525192965e8d /src/microhttpd/mhd_send.c
parent7d7d55d12d92face09336f44380a91477a322fa4 (diff)
downloadlibmicrohttpd-b98ad354ca1ec1d88e2cc1da5a67e7da11b9f6c4.tar.gz
libmicrohttpd-b98ad354ca1ec1d88e2cc1da5a67e7da11b9f6c4.zip
Rename senfile_adapter to MHD_send_sendfile_ and remove duplicate prototype.
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 11ed6db7..0b1ae127 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -435,9 +435,8 @@ static int freebsd_sendfile_flags_thd_p_c_;
435 * @param connection the MHD connection structure 435 * @param connection the MHD connection structure
436 * @return actual number of bytes sent 436 * @return actual number of bytes sent
437 */ 437 */
438// FIXME: rename...
439ssize_t 438ssize_t
440sendfile_adapter (struct MHD_Connection *connection) 439MHD_send_sendfile_ (struct MHD_Connection *connection)
441{ 440{
442 ssize_t ret; 441 ssize_t ret;
443 const int file_fd = connection->response->fd; 442 const int file_fd = connection->response->fd;