Removed all instances of srand. This is called implicitily by rand and be dangerous if called mulitple times by the same process.
This commit is contained in:
parent
3af1b41542
commit
70a0a422b7
6 changed files with 2 additions and 7 deletions
|
|
@ -101,7 +101,6 @@ A reference to the current session.
|
|||
sub new {
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
srand;
|
||||
bless {_session=>$session}, $class;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue