]> git.kaiwu.me - nginx.git/commitdiff
r1547 merge:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 29 Oct 2007 15:08:01 +0000 (15:08 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 29 Oct 2007 15:08:01 +0000 (15:08 +0000)
omit trailing zero in directory name

src/http/ngx_http_core_module.c

index 347cf01b73b6461a92f4692b2add5614fb2f2744..0576dc46cd945bc8aaa9898943e51a9d3c62bce9 100644 (file)
@@ -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);