previous commit broke two modules
diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c
index dfe4299..6030b7b 100644
--- a/src/http/modules/ngx_http_flv_module.c
+++ b/src/http/modules/ngx_http_flv_module.c
@@ -62,6 +62,7 @@
{
u_char *p;
off_t start, len;
+ size_t root;
ngx_fd_t fd;
ngx_int_t rc;
ngx_uint_t level, i;
@@ -94,7 +95,7 @@
return rc;
}
- if (ngx_http_map_uri_to_path(r, &path, 0) == NULL) {
+ if (ngx_http_map_uri_to_path(r, &path, &root, 0) == NULL) {
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index d261afa..f65bbf0 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -453,6 +453,7 @@
CODE:
dXSTARG;
+ size_t root;
ngx_http_request_t *r;
ngx_http_perl_ctx_t *ctx;
@@ -463,7 +464,7 @@
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;
}