aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-19 12:38:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-12-19 12:38:20 +0000
commitf4b34c4754829451b61bbd69d15591ceb154cfcf (patch)
treeb3114a23e5fbcce01333a5158e521c6b50f3ae46
parent84bab05c5546f0ec0e78a2d7beb1702232728f4a (diff)
downloadnginx-f4b34c4754829451b61bbd69d15591ceb154cfcf.tar.gz
nginx-f4b34c4754829451b61bbd69d15591ceb154cfcf.zip
the initial slot is out of array
-rw-r--r--src/core/ngx_times.c2
1 files changed, 1 insertions, 1 deletions
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;