mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Apply some touchups
This commit is contained in:
parent
9f149e1de3
commit
2f3bd90216
139 changed files with 1188 additions and 1154 deletions
|
@ -59,7 +59,7 @@ static ssize_t sendfile_linux2netflix(int outfd, int infd,
|
|||
int64_t offset, sbytes;
|
||||
if (inout_opt_inoffset) {
|
||||
offset = *inout_opt_inoffset;
|
||||
} else if ((offset = sys_lseek(infd, 0, SEEK_CUR)) == -1) {
|
||||
} else if ((offset = lseek(infd, 0, SEEK_CUR)) == -1) {
|
||||
return -1;
|
||||
}
|
||||
if ((rc = sys_sendfile_netflix(infd, outfd, offset, uptobytes, NULL, &sbytes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue