Browse Source

Dont ruin the srandomdev initialisation in trackerlogic's init

undefined
erdgeist 8 years ago
parent
commit
7e2bef9bf7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      trackerlogic.c

+ 1
- 2
trackerlogic.c 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( );


Loading…
Cancel
Save