aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/src/engine/megaco_trans_sender.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-26 13:37:13 +0200
committerBjörn Gustavsson <[email protected]>2015-05-27 12:17:43 +0200
commit3650d333cb06547b8b05ca90d08922a49f919cc6 (patch)
tree44f4f7865f4303460f657b577273fda2c85f7c08 /lib/megaco/src/engine/megaco_trans_sender.erl
parent2925fbba49237ff6b6e2691f52c4afb2c0447e46 (diff)
downloadotp-3650d333cb06547b8b05ca90d08922a49f919cc6.tar.gz
otp-3650d333cb06547b8b05ca90d08922a49f919cc6.tar.bz2
otp-3650d333cb06547b8b05ca90d08922a49f919cc6.zip
megaco: Eliminate use of erlang:now/0
Diffstat (limited to 'lib/megaco/src/engine/megaco_trans_sender.erl')
-rw-r--r--lib/megaco/src/engine/megaco_trans_sender.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/megaco/src/engine/megaco_trans_sender.erl b/lib/megaco/src/engine/megaco_trans_sender.erl
index 710fef405a..e07f404289 100644
--- a/lib/megaco/src/engine/megaco_trans_sender.erl
+++ b/lib/megaco/src/engine/megaco_trans_sender.erl
@@ -672,8 +672,7 @@ to(To, Start) ->
%% Time in milli seconds
t() ->
- {A,B,C} = erlang:now(),
- A*1000000000+B*1000+(C div 1000).
+ erlang:monotonic_time(milli_seconds).
warning_msg(F, A) ->
?megaco_warning("Transaction sender: " ++ F, A).