Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_process_cycle.c @ 391:b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Jul 2004 16:01:42 +0000 |
parents | 537de4dca8ca |
children | da8c5707af39 |
comparison
equal
deleted
inserted
replaced
390:1471c6fb108a | 391:b670db10cbbd |
---|---|
612 | 612 |
613 if (ngx_processes[n].pid == -1) { | 613 if (ngx_processes[n].pid == -1) { |
614 continue; | 614 continue; |
615 } | 615 } |
616 | 616 |
617 if (n == ngx_process_slot) { | |
618 continue; | |
619 } | |
620 | |
617 if (close(ngx_processes[n].channel[1]) == -1) { | 621 if (close(ngx_processes[n].channel[1]) == -1) { |
618 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, | 622 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, |
619 "close() failed"); | 623 "close() failed"); |
620 } | 624 } |
621 } | 625 } |