Skip to content

Commit

Permalink
Dont ruin the srandomdev initialisation in trackerlogic's init
Browse files Browse the repository at this point in the history
  • Loading branch information
erdgeist committed Jun 3, 2012
1 parent eed4a42 commit 7e2bef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions trackerlogic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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( );
Expand Down

0 comments on commit 7e2bef9

Please sign in to comment.