the initial slot is out of array

This commit is contained in:
Igor Sysoev 2006-12-19 12:38:20 +00:00
parent 3580e64b5f
commit ffb08beb49

View file

@ -19,7 +19,7 @@
#define NGX_TIME_SLOTS 64 #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; static ngx_atomic_t ngx_time_lock;
volatile ngx_msec_t ngx_current_msec; volatile ngx_msec_t ngx_current_msec;