summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.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_core_module.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_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index c7fa92ceb..347cf01b7 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2595,7 +2595,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ls->family = AF_INET;
ls->addr = u.addr.in_addr;
ls->port = u.port;
- ls->file_name = cf->conf_file->file.name;
+ ls->file_name = cf->conf_file->file.name.data;
ls->line = cf->conf_file->line;
ls->conf.backlog = NGX_LISTEN_BACKLOG;
ls->conf.rcvbuf = -1;