diff src/http/ngx_http_core_module.c @ 1613:fd1fca184e67 stable-0.5

r1547 merge: omit trailing zero in directory name
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 Oct 2007 15:08:01 +0000
parents 9b10ba85b249
children cacb565c554e
line wrap: on
line diff
--- 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_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);