mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 11:52:00 +00:00
use off_t in $r->sendfile(), this allows to use 64-bit off_t on platforms
where IV is long: *) on 64-bit platforms, *) and on 32-bit platforms if perl was built with -Duse64bitint
This commit is contained in:
parent
59eed355c0
commit
fcf9bd9bd8
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
|||
|
||||
ngx_http_request_t *r;
|
||||
char *filename;
|
||||
int offset;
|
||||
off_t offset;
|
||||
size_t bytes;
|
||||
ngx_str_t path;
|
||||
ngx_buf_t *b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue