diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:36:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:36:54 +0000 |
commit | 0e5f86d871713b35e6e402ceee3435675c2c5b7f (patch) | |
tree | 34a3bed03cd7c378626606add0b6de870b98d6e2 /src/http/ngx_http_variables.c | |
parent | c3df798bb434682be2ea3b4d09e923bc58f0af34 (diff) | |
download | nginx-0e5f86d871713b35e6e402ceee3435675c2c5b7f.tar.gz nginx-0e5f86d871713b35e6e402ceee3435675c2c5b7f.zip |
remove r->root_length
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index 0f1587b64..ecf20c372 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -852,9 +852,10 @@ static ngx_int_t ngx_http_variable_request_filename(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data) { + size_t root; ngx_str_t path; - 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_ERROR; } |