comparison src/core/ngx_cycle.c @ 416:b9bd635011de

nginx-0.0.10-2004-09-06-22:45:00 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Sep 2004 18:45:00 +0000
parents 3c56e834be46
children f390d1775430
comparison
equal deleted inserted replaced
415:3c56e834be46 416:b9bd635011de
79 79
80 } else { 80 } else {
81 n = 20; 81 n = 20;
82 } 82 }
83 83
84 if (ngx_init_list(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) 84 if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t))
85 == NGX_ERROR) 85 == NGX_ERROR)
86 { 86 {
87 ngx_destroy_pool(pool); 87 ngx_destroy_pool(pool);
88 return NULL; 88 return NULL;
89 } 89 }