diff options
author | ng0 <ng0@n0.is> | 2019-08-02 09:08:51 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-08-02 09:08:51 +0000 |
commit | b98ad354ca1ec1d88e2cc1da5a67e7da11b9f6c4 (patch) | |
tree | 3345a4272deb70a55f99a14e36d4525192965e8d /src/microhttpd/mhd_send.c | |
parent | 7d7d55d12d92face09336f44380a91477a322fa4 (diff) | |
download | libmicrohttpd-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.c | 3 |
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... | ||
439 | ssize_t | 438 | ssize_t |
440 | sendfile_adapter (struct MHD_Connection *connection) | 439 | MHD_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; |