From 4de9baf8f1a4135128f3d40af7201e974107ac2f Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Sun, 26 Mar 2006 08:42:34 +0000 Subject: 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 --- src/fe-text/irssi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fe-text/irssi.c') diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index e685608f..878e397b 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -336,6 +336,8 @@ int main(int argc, char **argv) g_mem_set_vtable(&gc_mem_table); #endif + srand(time(NULL)); + dummy = FALSE; quitting = FALSE; core_init_paths(argc, argv); -- cgit v1.2.3