From abeb122d6e447f03be252094e857bf6d5611de19 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Oct 2006 13:10:10 +0000 Subject: APOP --- src/core/ngx_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/ngx_file.c') diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c index f6bf04b03..e74c1aeab 100644 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -9,7 +9,7 @@ static ngx_atomic_uint_t ngx_temp_number; -static ngx_atomic_uint_t ngx_random; +static ngx_atomic_uint_t ngx_random_number; ssize_t @@ -216,7 +216,7 @@ void ngx_init_temp_number(void) { ngx_temp_number = 0; - ngx_random = 123456; + ngx_random_number = 123456; } @@ -224,7 +224,7 @@ ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision) { if (collision) { - ngx_temp_number += ngx_random; + ngx_temp_number += ngx_random_number; } return ngx_temp_number++; -- cgit