From f4b34c4754829451b61bbd69d15591ceb154cfcf Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 19 Dec 2006 12:38:20 +0000 Subject: [PATCH] the initial slot is out of array --- src/core/ngx_times.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c index f6e618a65..571e4e7f0 100644 --- a/src/core/ngx_times.c +++ b/src/core/ngx_times.c @@ -19,7 +19,7 @@ #define NGX_TIME_SLOTS 64 -static ngx_uint_t slot = NGX_TIME_SLOTS; +static ngx_uint_t slot; static ngx_atomic_t ngx_time_lock; volatile ngx_msec_t ngx_current_msec;