mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
. De-constify offset for Linux.
This commit is contained in:
parent
132757b8fe
commit
917e7a2cc4
@ -1739,7 +1739,7 @@ static void poll_send_header(struct connection *conn)
|
|||||||
* read error.
|
* read error.
|
||||||
*/
|
*/
|
||||||
static ssize_t send_from_file(const int s, const int fd,
|
static ssize_t send_from_file(const int s, const int fd,
|
||||||
const off_t ofs, const size_t size)
|
off_t ofs, const size_t size)
|
||||||
{
|
{
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
off_t sent;
|
off_t sent;
|
||||||
|
Loading…
Reference in New Issue
Block a user