Mercurial > hg > nginx
comparison src/core/nginx.c @ 745:95aa79944291
add sun4v,
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Oct 2006 13:02:23 +0000 |
parents | 5e8fb59c18c1 |
children | 8d39da951bbd |
comparison
equal
deleted
inserted
replaced
744:34bb8726f454 | 745:95aa79944291 |
---|---|
350 | 350 |
351 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, | 351 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, |
352 "using inherited sockets from \"%s\"", inherited); | 352 "using inherited sockets from \"%s\"", inherited); |
353 | 353 |
354 if (ngx_array_init(&cycle->listening, cycle->pool, 10, | 354 if (ngx_array_init(&cycle->listening, cycle->pool, 10, |
355 sizeof(ngx_listening_t)) == NGX_ERROR) | 355 sizeof(ngx_listening_t)) |
356 == NGX_ERROR) | |
356 { | 357 { |
357 return NGX_ERROR; | 358 return NGX_ERROR; |
358 } | 359 } |
359 | 360 |
360 for (p = inherited, v = p; *p; p++) { | 361 for (p = inherited, v = p; *p; p++) { |