mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Replace rand() by a true uniform distribution generator
This commit is contained in:
parent
c7d10dc091
commit
511796f74e
8 changed files with 109 additions and 6 deletions
|
@ -259,7 +259,6 @@ int main(int argc, char *argv[])
|
|||
&& isatty(fileno(stdout)))) return EXIT_FAILURE;
|
||||
#endif
|
||||
|
||||
srand(time(0));
|
||||
#ifdef DISABLE_GUI
|
||||
if (params.shouldDaemonize) {
|
||||
app.reset(); // Destroy current application
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue