Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.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 | 223e92651ca5 |
children | 2956fb9b7dcb |
comparison
equal
deleted
inserted
replaced
1488:0e66eabd18b5 | 1489:56f1ea5baabb |
---|---|
2625 ngx_memzero(ls, sizeof(ngx_http_listen_t)); | 2625 ngx_memzero(ls, sizeof(ngx_http_listen_t)); |
2626 | 2626 |
2627 ls->family = AF_INET; | 2627 ls->family = AF_INET; |
2628 ls->addr = u.addr.in_addr; | 2628 ls->addr = u.addr.in_addr; |
2629 ls->port = u.port; | 2629 ls->port = u.port; |
2630 ls->file_name = cf->conf_file->file.name; | 2630 ls->file_name = cf->conf_file->file.name.data; |
2631 ls->line = cf->conf_file->line; | 2631 ls->line = cf->conf_file->line; |
2632 ls->conf.backlog = NGX_LISTEN_BACKLOG; | 2632 ls->conf.backlog = NGX_LISTEN_BACKLOG; |
2633 ls->conf.rcvbuf = -1; | 2633 ls->conf.rcvbuf = -1; |
2634 ls->conf.sndbuf = -1; | 2634 ls->conf.sndbuf = -1; |
2635 | 2635 |