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
+++ b/src/http/ngx_http_core_module.c
@@ -896,7 +896,7 @@ ngx_http_core_content_phase(ngx_http_req
 
         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);