Win32: added missing call to srand().

Found by Veracode.
This commit is contained in:
Maxim Dounin 2012-03-22 10:45:08 +00:00
parent 1aa5fbb1a8
commit 8e6728ef13

View File

@ -228,6 +228,8 @@ ngx_os_init(ngx_log_t *log)
ngx_sprintf((u_char *) ngx_unique, "%P%Z", ngx_pid);
}
srand((unsigned) ngx_time());
return NGX_OK;
}