diff src/http/ngx_http.c @ 1489:56f1ea5baabb

u_char* is enough to keep file name
author Igor Sysoev <igor@sysoev.ru>
date Sat, 15 Sep 2007 17:11:06 +0000
parents cb8b30ef3e7e
children e584e946e198
line wrap: on
line diff
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -553,8 +553,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_comma
 
                         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;
                         }