comparison src/core/nginx.c @ 793:8d39da951bbd

split ngx_crc32() to short and long version
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Oct 2006 09:57:49 +0000
parents 95aa79944291
children 3db9dd3d9d8c
comparison
equal deleted inserted replaced
792:99858705b03f 793:8d39da951bbd
254 254
255 if (ngx_add_inherited_sockets(&init_cycle) != NGX_OK) { 255 if (ngx_add_inherited_sockets(&init_cycle) != NGX_OK) {
256 return 1; 256 return 1;
257 } 257 }
258 258
259 if (ngx_crc32_init(init_cycle.pool) != NGX_OK) {
260 return 1;
261 }
262
259 environ = &ngx_null_environ; 263 environ = &ngx_null_environ;
260 264
261 ngx_max_module = 0; 265 ngx_max_module = 0;
262 for (i = 0; ngx_modules[i]; i++) { 266 for (i = 0; ngx_modules[i]; i++) {
263 ngx_modules[i]->index = ngx_max_module++; 267 ngx_modules[i]->index = ngx_max_module++;