aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-07-18 14:43:55 +0200
committerAnders Svensson <[email protected]>2015-07-19 11:08:21 +0200
commit862af31d8a91b56711e3da554bb08247b7ee43cd (patch)
tree099571b0b5c9152b260fd0f6bd531d5402962f61 /lib/diameter/src
parent60031d6b3b9b5a328eed3f972ab6550173006e8d (diff)
downloadotp-862af31d8a91b56711e3da554bb08247b7ee43cd.tar.gz
otp-862af31d8a91b56711e3da554bb08247b7ee43cd.tar.bz2
otp-862af31d8a91b56711e3da554bb08247b7ee43cd.zip
Remove unnecessary erlang:monitor/2 qualification
The function has been auto-exported since R14B.
Diffstat (limited to 'lib/diameter/src')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index de9c4bca33..9844f58ab2 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -93,7 +93,7 @@ start({_,_} = Type, T) ->
Ack = make_ref(),
{ok, Pid} = diameter_watchdog_sup:start_child({Ack, Type, self(), T}),
try
- {erlang:monitor(process, Pid), Pid}
+ {monitor(process, Pid), Pid}
after
send(Pid, Ack)
end.
@@ -120,7 +120,7 @@ i({Ack, T, Pid, {RecvData,
#diameter_service{applications = Apps,
capabilities = Caps}
= Svc}}) ->
- erlang:monitor(process, Pid),
+ monitor(process, Pid),
wait(Ack, Pid),
{_, Seed} = diameter_lib:seed(),
random:seed(Seed),