Menu

#4 Not getting random Web services

open
nobody
None
5
2008-08-09
2008-08-09
kevogod
No

In DiscoveryServices.cpp:

srand( GetTickCount() );

should be added to GetRandomWebCache and GetRandomService.

Otherwise, Shareaza Plus will not get services at random. srand( GetTickCount() ); exists in Shareaza.cpp, but srand() is per thread, not per process.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB