mirror of https://github.com/nealey/eris.git
Oops, unrenamed a variable
This commit is contained in:
parent
c329e9ad8a
commit
76c46f481e
2
eris.c
2
eris.c
|
@ -514,7 +514,7 @@ ssize_t
|
||||||
fake_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
|
fake_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
|
||||||
{
|
{
|
||||||
char buf[BUFFER_SIZE];
|
char buf[BUFFER_SIZE];
|
||||||
ssize_t l, sent;
|
ssize_t l, m;
|
||||||
|
|
||||||
/* is mmap quicker? does it matter? */
|
/* is mmap quicker? does it matter? */
|
||||||
if (-1 == lseek(in_fd, *offset, SEEK_SET)) {
|
if (-1 == lseek(in_fd, *offset, SEEK_SET)) {
|
||||||
|
|
Loading…
Reference in New Issue