comparison src/os/unix/ngx_process_cycle.c @ 3046:52e984126b2c

fix typo
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Aug 2009 15:03:53 +0000
parents f9d97311c652
children d02b6123b4dc
comparison
equal deleted inserted replaced
3045:46b207c9dafd 3046:52e984126b2c
143 for ( ;; ) { 143 for ( ;; ) {
144 if (delay) { 144 if (delay) {
145 delay *= 2; 145 delay *= 2;
146 146
147 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 147 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
148 "temination cycle: %d", delay); 148 "termination cycle: %d", delay);
149 149
150 itv.it_interval.tv_sec = 0; 150 itv.it_interval.tv_sec = 0;
151 itv.it_interval.tv_usec = 0; 151 itv.it_interval.tv_usec = 0;
152 itv.it_value.tv_sec = delay / 1000; 152 itv.it_value.tv_sec = delay / 1000;
153 itv.it_value.tv_usec = (delay % 1000 ) * 1000; 153 itv.it_value.tv_usec = (delay % 1000 ) * 1000;