[cygwin] minor: fix compiler warning
parent
c916b2fc11
commit
c489dd6cc4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue