summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trackerlogic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 7ae9bb1..310466c 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -411,13 +411,12 @@ void exerr( char * message ) {
411} 411}
412 412
413void trackerlogic_init( ) { 413void trackerlogic_init( ) {
414 srandom( time(NULL) );
415 g_tracker_id = random(); 414 g_tracker_id = random();
416 415
417 if( !g_stats_path ) 416 if( !g_stats_path )
418 g_stats_path = "stats"; 417 g_stats_path = "stats";
419 g_stats_path_len = strlen( g_stats_path ); 418 g_stats_path_len = strlen( g_stats_path );
420 419
421 /* Initialise background worker threads */ 420 /* Initialise background worker threads */
422 mutex_init( ); 421 mutex_init( );
423 clean_init( ); 422 clean_init( );