Dont ruin the srandomdev initialisation in trackerlogic's init

This commit is contained in:
erdgeist 2012-06-03 00:15:59 +00:00
parent eed4a42292
commit 7e2bef9bf7

View File

@ -411,13 +411,12 @@ void exerr( char * message ) {
}
void trackerlogic_init( ) {
srandom( time(NULL) );
g_tracker_id = random();
if( !g_stats_path )
g_stats_path = "stats";
g_stats_path_len = strlen( g_stats_path );
/* Initialise background worker threads */
mutex_init( );
clean_init( );