Il sito funziona meglio con JavaScript.
Home
Aiuto
Registrati
Accedi
mirrors
/
opentracker
mirror da
/home/gitosis/repositories/opentracker.git
Segui
1
Vota
0
Forka
0
Codice
Rilasci
1
Attività
Sfoglia il codice sorgente
Dont ruin the srandomdev initialisation in trackerlogic's init
erdgeist
8 anni fa
parent
eed4a42292
commit
7e2bef9bf7
1 ha cambiato i file
con
1 aggiunte
e
2 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-2
trackerlogic.c
+ 1
- 2
trackerlogic.c
Vedi 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
(
)
;
Scrivi
Anteprima
Caricamento…
Annulla
Salva