Klaus Demo nginx / a979d9f
move ngx_strerror_init() at the very start Igor Sysoev 11 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
201201 ngx_log_t *log;
202202 ngx_cycle_t *cycle, init_cycle;
203203 ngx_core_conf_t *ccf;
204
205 if (ngx_strerror_init() != NGX_OK) {
206 return 1;
207 }
204208
205209 if (ngx_get_options(argc, argv) != NGX_OK) {
206210 return 1;
269273
270274 ngx_pid = ngx_getpid();
271275
272 if (ngx_strerror_init() != NGX_OK) {
273 return 1;
274 }
275
276276 log = ngx_log_init(ngx_prefix);
277277 if (log == NULL) {
278278 return 1;