Mercurial > hg > nginx
changeset 1133:d5c1c84b7904
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Mar 2007 20:29:08 +0000 |
parents | 4576627269ab |
children | 384c92c210f9 |
files | src/os/unix/ngx_process_cycle.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.c Tue Mar 06 20:17:50 2007 +0000 +++ b/src/os/unix/ngx_process_cycle.c Tue Mar 06 20:29:08 2007 +0000 @@ -679,8 +679,8 @@ ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); if (ngx_threads_n) { - if (ngx_init_threads(ngx_threads_n, - ccf->thread_stack_size, cycle) == NGX_ERROR) + if (ngx_init_threads(ngx_threads_n, ccf->thread_stack_size, cycle) + == NGX_ERROR) { /* fatal */ exit(2); @@ -705,7 +705,8 @@ if (ngx_create_thread((ngx_tid_t *) &ngx_threads[n].tid, ngx_worker_thread_cycle, - (void *) &ngx_threads[n], cycle->log) != 0) + (void *) &ngx_threads[n], cycle->log) + != 0) { /* fatal */ exit(2); @@ -929,7 +930,8 @@ #endif if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT, - ngx_channel_handler) == NGX_ERROR) + ngx_channel_handler) + == NGX_ERROR) { /* fatal */ exit(2);