diff src/os/unix/ngx_posix_init.c @ 800:887d8dec72dc

APOP
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Oct 2006 13:10:10 +0000
parents 3f8a2132b93d
children 201d017ea470
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_init.c	Fri Oct 20 20:43:01 2006 +0000
+++ b/src/os/unix/ngx_posix_init.c	Mon Oct 23 13:10:10 2006 +0000
@@ -61,6 +61,8 @@
     ngx_inherited_nonblocking = 0;
 #endif
 
+    srandom(ngx_time());
+
     return NGX_OK;
 }