[cygwin] minor: fix compiler warning

This commit is contained in:
Glenn Strauss 2016-07-02 02:17:39 -04:00
parent c916b2fc11
commit c489dd6cc4
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ int network_write_chunkqueue_write(server *srv, connection *con, int fd, chunkqu
return 0;
}
#if defined(USE_SENDFILE)
int network_write_chunkqueue_sendfile(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) {
while (max_bytes > 0 && NULL != cq->first) {
int r = -1;
@ -111,3 +112,4 @@ int network_write_chunkqueue_sendfile(server *srv, connection *con, int fd, chun
return 0;
}
#endif