Mercurial > hg > nginx
comparison src/core/ngx_cycle.c @ 994:151ae1691971
fix the comments
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Jan 2007 16:00:07 +0000 |
parents | 1b9a4d92173f |
children | 4b0d9e2b31c6 |
comparison
equal
deleted
inserted
replaced
993:1b9a4d92173f | 994:151ae1691971 |
---|---|
592 } | 592 } |
593 | 593 |
594 | 594 |
595 /* close and delete stuff that lefts from an old cycle */ | 595 /* close and delete stuff that lefts from an old cycle */ |
596 | 596 |
597 /* close the unneeded listening sockets */ | 597 /* close the unnecessary listening sockets */ |
598 | 598 |
599 ls = old_cycle->listening.elts; | 599 ls = old_cycle->listening.elts; |
600 for (i = 0; i < old_cycle->listening.nelts; i++) { | 600 for (i = 0; i < old_cycle->listening.nelts; i++) { |
601 if (ls[i].remain) { | 601 if (ls[i].remain) { |
602 continue; | 602 continue; |
608 &ls[i].addr_text); | 608 &ls[i].addr_text); |
609 } | 609 } |
610 } | 610 } |
611 | 611 |
612 | 612 |
613 /* close the unneeded open files */ | 613 /* close the unnecessary open files */ |
614 | 614 |
615 part = &old_cycle->open_files.part; | 615 part = &old_cycle->open_files.part; |
616 file = part->elts; | 616 file = part->elts; |
617 | 617 |
618 for (i = 0; /* void */ ; i++) { | 618 for (i = 0; /* void */ ; i++) { |