This commit is contained in:
David Rose 2009-10-07 22:46:47 +00:00
parent 826b0e5033
commit e2c1394007

View File

@ -164,6 +164,10 @@ NP_Initialize(NPNetscapeFuncs *browserFuncs,
}
#endif
// Seed the lame random number generator in rand(); we use it to
// select a mirror for downloading.
srand((unsigned int)time(NULL));
return NPERR_NO_ERROR;
}