diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2015-12-07 16:08:57 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2015-12-07 16:09:48 +0100 |
commit | 29db302808f94697689d3010b3b589f9a00333b9 (patch) | |
tree | 0c82aa6e6f99a6bb8c188ea9995eba38e095f5d5 /src/extauth.erl | |
parent | Fix bug in last commit (diff) |
More now() replacements
Diffstat (limited to 'src/extauth.erl')
-rw-r--r-- | src/extauth.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extauth.erl b/src/extauth.erl index 64220fcb..9b84741d 100644 --- a/src/extauth.erl +++ b/src/extauth.erl @@ -102,8 +102,7 @@ call_port(Server, Msg) -> receive {eauth, Result} -> Result end. random_instance(MaxNum) -> - {A1, A2, A3} = now(), - random:seed(A1, A2, A3), + random:seed(p1_time_compat:monotonic_time()), random:uniform(MaxNum) - 1. get_instances(Server) -> |