diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:56:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:56:16 +0000 |
commit | d79b21d1c6c36cf8687336e8b4bde59e9380cab2 (patch) | |
tree | 4b93e2d2728f9a437f264f1d9c4aea40194a0077 /src/http/modules/perl/nginx.xs | |
parent | 0e5f86d871713b35e6e402ceee3435675c2c5b7f (diff) | |
download | nginx-d79b21d1c6c36cf8687336e8b4bde59e9380cab2.tar.gz nginx-d79b21d1c6c36cf8687336e8b4bde59e9380cab2.zip |
previous commit broke two modules
Diffstat (limited to 'src/http/modules/perl/nginx.xs')
-rw-r--r-- | src/http/modules/perl/nginx.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index d261afa02..f65bbf093 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -453,6 +453,7 @@ filename(r) CODE: dXSTARG; + size_t root; ngx_http_request_t *r; ngx_http_perl_ctx_t *ctx; @@ -463,7 +464,7 @@ filename(r) goto done; } - if (ngx_http_map_uri_to_path(r, &ctx->filename, 0) == NULL) { + if (ngx_http_map_uri_to_path(r, &ctx->filename, &root, 0) == NULL) { XSRETURN_UNDEF; } |