Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-19 15:38:20 +0300
committerIgor Sysoev <igor@sysoev.ru>2006-12-19 15:38:20 +0300
commitf4b34c4754829451b61bbd69d15591ceb154cfcf (patch)
treeb3114a23e5fbcce01333a5158e521c6b50f3ae46 /src/core/ngx_times.c
parent84bab05c5546f0ec0e78a2d7beb1702232728f4a (diff)
the initial slot is out of array
Diffstat (limited to 'src/core/ngx_times.c')
-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;