Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-29 18:08:01 +0300
committerIgor Sysoev <igor@sysoev.ru>2007-10-29 18:08:01 +0300
commit3e43c7880c266b62f379d46a24b16e23d1ab7960 (patch)
tree5d60a88b38e3c9ba9caef203335c4c1b503c7ff7 /src/http
parent4c8ba0415777772072fa9302d994d701ee9ee484 (diff)
r1547 merge:
omit trailing zero in directory name
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 347cf01b7..0576dc46c 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -877,7 +877,7 @@ ngx_http_core_content_phase(ngx_http_request_t *r,
if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
- "directory index of \"%V\" is forbidden", &path);
+ "directory index of \"%s\" is forbidden", path.data);
}
ngx_http_finalize_request(r, NGX_HTTP_FORBIDDEN);