From abeb122d6e447f03be252094e857bf6d5611de19 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Oct 2006 13:10:10 +0000 Subject: APOP --- src/os/unix/ngx_posix_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_posix_init.c') diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c index a44a89cb8..4844ae52f 100644 --- a/src/os/unix/ngx_posix_init.c +++ b/src/os/unix/ngx_posix_init.c @@ -61,6 +61,8 @@ ngx_os_init(ngx_log_t *log) ngx_inherited_nonblocking = 0; #endif + srandom(ngx_time()); + return NGX_OK; } -- cgit v1.2.3