the initial slot is out of array

This commit is contained in:
Igor Sysoev 2006-12-19 12:38:20 +00:00
parent 84bab05c55
commit f4b34c4754

View File

@ -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;