comparison src/http/ngx_http_core_module.c @ 1533:9b10ba85b249 stable-0.5

r1490 merge: u_char* is enough to keep file name
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Sep 2007 19:29:22 +0000
parents 2abedb6c0f29
children fd1fca184e67
comparison
equal deleted inserted replaced
1532:44bd4db45b30 1533:9b10ba85b249
2593 ngx_memzero(ls, sizeof(ngx_http_listen_t)); 2593 ngx_memzero(ls, sizeof(ngx_http_listen_t));
2594 2594
2595 ls->family = AF_INET; 2595 ls->family = AF_INET;
2596 ls->addr = u.addr.in_addr; 2596 ls->addr = u.addr.in_addr;
2597 ls->port = u.port; 2597 ls->port = u.port;
2598 ls->file_name = cf->conf_file->file.name; 2598 ls->file_name = cf->conf_file->file.name.data;
2599 ls->line = cf->conf_file->line; 2599 ls->line = cf->conf_file->line;
2600 ls->conf.backlog = NGX_LISTEN_BACKLOG; 2600 ls->conf.backlog = NGX_LISTEN_BACKLOG;
2601 ls->conf.rcvbuf = -1; 2601 ls->conf.rcvbuf = -1;
2602 ls->conf.sndbuf = -1; 2602 ls->conf.sndbuf = -1;
2603 2603