diff options
author | Anders Svensson <[email protected]> | 2015-07-18 14:43:55 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-07-19 11:08:21 +0200 |
commit | 862af31d8a91b56711e3da554bb08247b7ee43cd (patch) | |
tree | 099571b0b5c9152b260fd0f6bd531d5402962f61 /lib/diameter/src/base | |
parent | 60031d6b3b9b5a328eed3f972ab6550173006e8d (diff) | |
download | otp-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/base')
-rw-r--r-- | lib/diameter/src/base/diameter_watchdog.erl | 4 |
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), |