commit | f4b34c4754829451b61bbd69d15591ceb154cfcf | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Dec 19 12:38:20 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Dec 19 12:38:20 2006 +0000 |
tree | b3114a23e5fbcce01333a5158e521c6b50f3ae46 | |
parent | 84bab05c5546f0ec0e78a2d7beb1702232728f4a [diff] [blame] |
the initial slot is out of array
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c index f6e618a..571e4e7 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;