Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/core/ngx_cycle.c Sun Sep 05 19:54:02 2004 +0000 +++ b/src/core/ngx_cycle.c Mon Sep 06 18:45:00 2004 +0000 @@ -81,7 +81,7 @@ n = 20; } - if (ngx_init_list(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) + if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) == NGX_ERROR) { ngx_destroy_pool(pool);