Removed all srand calls and added a single srand invokation in at startup

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4264 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Jochen Eisinger 2006-03-26 08:42:34 +00:00 committed by c0ffee
commit 4de9baf8f1
6 changed files with 4 additions and 5 deletions

View file

@ -515,7 +515,6 @@ static void cmd_dcc_chat(const char *data, IRC_SERVER_REC *server)
signal_emit("dcc request send", 1, dcc);
/* generate a random id */
srand(time(NULL));
p_id = rand() % 64;
dcc->pasv_id = p_id;