summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-23 19:29:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-09-23 19:29:22 +0000
commit39a3f35b3d682538ce6dbd70f417e43e4d5f6156 (patch)
tree386588a27aaeb2d2a0bd21e605560b5a79439929 /src/http/ngx_http.c
parentd0a42bbb58223e164abe75c662bc2ba7f7720334 (diff)
downloadnginx-39a3f35b3d682538ce6dbd70f417e43e4d5f6156.tar.gz
nginx-39a3f35b3d682538ce6dbd70f417e43e4d5f6156.tar.bz2
r1490 merge:
u_char* is enough to keep file name
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 6c5acd94d..51667d138 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -551,8 +551,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
if (in_addr[a].default_server) {
ngx_log_error(NGX_LOG_ERR, cf->log, 0,
- "the duplicate default server in %V:%d",
- &lscf[l].file_name, lscf[l].line);
+ "the duplicate default server in %s:%ui",
+ &lscf[l].file_name, lscf[l].line);
return NGX_CONF_ERROR;
}