aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-12-07 13:11:07 +0100
committerAnders Svensson <[email protected]>2015-12-21 17:16:37 +0100
commit09a4ef659657525b7530416697f92db8a360a28f (patch)
tree70ad4fe5252ca3f8404e2280691d3c9a85e4ed49 /lib/diameter
parentd7db1f1612e8a5a8a732a7e055ba5618778f1ac2 (diff)
downloadotp-09a4ef659657525b7530416697f92db8a360a28f.tar.gz
otp-09a4ef659657525b7530416697f92db8a360a28f.tar.bz2
otp-09a4ef659657525b7530416697f92db8a360a28f.zip
Remove unnecessary erlang:monitor/2 qualification
See commit 862af31d.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_service.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index 87bc9516e0..c5eed539ab 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -180,7 +180,7 @@ stop(SvcName) ->
end.
stop(ok, Pid) ->
- MRef = erlang:monitor(process, Pid),
+ MRef = monitor(process, Pid),
receive {'DOWN', MRef, process, _, _} -> ok end;
stop(No, _) ->
No.
@@ -710,7 +710,7 @@ service_options(Opts) ->
mref(false = No) ->
No;
mref(P) ->
- erlang:monitor(process, P).
+ monitor(process, P).
init_shared(#state{options = [_, _, {_,T} | _],
service_name = Svc}) ->
@@ -1402,7 +1402,7 @@ rpu(Pid, Aliases, Caps, #state{service = Svc, shared_peers = PDict}) ->
rpu(_, [] = No, _, _) ->
No;
rpu(Pid, Aliases, Caps, PDict) ->
- erlang:monitor(process, Pid),
+ monitor(process, Pid),
T = {Pid, Caps},
lists:foreach(fun(A) -> ?Dict:append(A, T, PDict) end, Aliases).