mirror of
git://erdgeist.org/opentracker
synced 2025-04-21 21:52:00 +02:00
Dont ruin the srandomdev initialisation in trackerlogic's init
This commit is contained in:
parent
eed4a42292
commit
7e2bef9bf7
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue