# HG changeset patch # User Igor Sysoev # Date 1166531900 0 # Node ID 1b8111df8051cc4b1dc56e009fedf7bb685c360b # Parent 87f456ff13b0496698c9a6b8edad9aaa495081b2 the initial slot is out of array diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c --- 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;