mirror of
git://erdgeist.org/opentracker
synced 2025-03-13 02:02:47 +08:00
Dont ruin the srandomdev initialisation in trackerlogic's init
This commit is contained in:
parent
eed4a42292
commit
7e2bef9bf7
@ -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…
x
Reference in New Issue
Block a user