summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-15 17:11:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-09-15 17:11:06 +0000
commit4b96baa417874ce7c152f40787d1d41a4f070690 (patch)
tree1006783cc1febf22fc213408d3c90a1611d85072 /src/http/ngx_http.c
parent254353e40e73211ebcbbc9db468c2481a2b7101f (diff)
downloadnginx-4b96baa417874ce7c152f40787d1d41a4f070690.tar.gz
nginx-4b96baa417874ce7c152f40787d1d41a4f070690.tar.bz2
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 97a2c193c..59b43d054 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -553,8 +553,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;
}