]> git.kaiwu.me - nginx.git/commitdiff
the initial slot is out of array
authorIgor Sysoev <igor@sysoev.ru>
Tue, 19 Dec 2006 12:38:20 +0000 (12:38 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 19 Dec 2006 12:38:20 +0000 (12:38 +0000)
src/core/ngx_times.c

index f6e618a6578784ba21660ea906ace5417cefa190..571e4e7f09f01858759c4b3efea65bf9ac392925 100644 (file)
@@ -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;