changeset 932:1b8111df8051

the initial slot is out of array
author Igor Sysoev <igor@sysoev.ru>
date Tue, 19 Dec 2006 12:38:20 +0000
parents 87f456ff13b0
children 1ce231663322
files src/core/ngx_times.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;