Mercurial > hg > nginx
changeset 1546:2956fb9b7dcb
omit trailing zero in directory name
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Sep 2007 09:39:29 +0000 |
parents | 2d8fab47dd89 |
children | e114a16fc5be |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Thu Sep 27 09:37:09 2007 +0000 +++ b/src/http/ngx_http_core_module.c Thu Sep 27 09:39:29 2007 +0000 @@ -896,7 +896,7 @@ 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);