From d79b21d1c6c36cf8687336e8b4bde59e9380cab2 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 12 Oct 2006 13:56:16 +0000 Subject: previous commit broke two modules --- src/http/modules/perl/nginx.xs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/http/modules/perl') 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; } -- cgit