diff options
author | Jochen Eisinger <c0ffee@irssi.org> | 2006-03-26 08:42:34 +0000 |
---|---|---|
committer | c0ffee <c0ffee@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-03-26 08:42:34 +0000 |
commit | 4de9baf8f1a4135128f3d40af7201e974107ac2f (patch) | |
tree | 6d7121baf9e2e370c353ec648e28c89a81fae0ff /src/fe-text | |
parent | 47704b800d63248a339637d2625d628aa32f3191 (diff) | |
download | irssi-4de9baf8f1a4135128f3d40af7201e974107ac2f.zip |
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
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/irssi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |