diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-18 20:48:03 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-18 20:48:03 +0000 |
commit | 5fdb179a607ae5bd5e9d1936a864910eecff6e5b (patch) | |
tree | ebe2c68c7505c07d2670d8dab05d0514e26f3113 /src | |
parent | 83ff0cdc4b759b71c814d47c85ffc8780da9d24f (diff) | |
download | nginx-5fdb179a607ae5bd5e9d1936a864910eecff6e5b.tar.gz nginx-5fdb179a607ae5bd5e9d1936a864910eecff6e5b.zip |
update nginx.xs to ngx_open_file(name, mode, create, access)
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/perl/nginx.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index 1c78eabb6..f13ce0f46 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -632,7 +632,7 @@ sendfile(r, filename, offset = -1, bytes = 0) XSRETURN_EMPTY; } - fd = ngx_open_file((u_char *) filename, NGX_FILE_RDONLY, NGX_FILE_OPEN); + fd = ngx_open_file((u_char *) filename, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0); if (fd == NGX_INVALID_FILE) { ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, |