Browse Source

Dont ruin the srandomdev initialisation in trackerlogic's init

dynamic-accesslists
erdgeist 13 years ago
parent
commit
7e2bef9bf7
  1. 3
      trackerlogic.c

3
trackerlogic.c

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

Loading…
Cancel
Save