(main): Fix seeding of PRNG broken in rev. 1.22.

This commit is contained in:
Markus Armbruster 2005-03-11 17:03:07 +00:00
parent 256724c39f
commit 9cd463f8bc

View file

@ -254,7 +254,7 @@ main(int argc, char **argv)
void void
init_server(void) init_server(void)
{ {
srand(time(NULL)); srandom(time(NULL));
#if defined(_WIN32) #if defined(_WIN32)
loc_NTInit(); loc_NTInit();
#endif #endif