aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_peer.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-02-08 01:38:25 +0100
committerAnders Svensson <[email protected]>2013-02-08 19:28:47 +0100
commit63d57f401e9e9a8ed376934581f42793d00e32cc (patch)
tree30274122019f27230fa01fb3483f0bde210d032f /lib/diameter/src/base/diameter_peer.erl
parente49e7acc2af99bbd06fa028168f9e1549cc5c658 (diff)
downloadotp-63d57f401e9e9a8ed376934581f42793d00e32cc.tar.gz
otp-63d57f401e9e9a8ed376934581f42793d00e32cc.tar.bz2
otp-63d57f401e9e9a8ed376934581f42793d00e32cc.zip
Tweak service interface towards diameter_peer
Diffstat (limited to 'lib/diameter/src/base/diameter_peer.erl')
-rw-r--r--lib/diameter/src/base/diameter_peer.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/diameter/src/base/diameter_peer.erl b/lib/diameter/src/base/diameter_peer.erl
index 25c9eab4cb..20b22c7949 100644
--- a/lib/diameter/src/base/diameter_peer.erl
+++ b/lib/diameter/src/base/diameter_peer.erl
@@ -272,7 +272,7 @@ handle_cast(Msg, State) ->
%% Remote service is distributing a message.
handle_info({notify, SvcName, T}, S) ->
- bang(diameter_service:whois(SvcName), T),
+ diameter_service:notify(SvcName, T),
{noreply, S};
handle_info(Info, State) ->
@@ -304,13 +304,6 @@ code_change(_OldVsn, State, _Extra) ->
ifc_send(Pid, T) ->
Pid ! {diameter, T}.
-%% bang/2
-
-bang(undefined = No, _) ->
- No;
-bang(Pid, T) ->
- Pid ! T.
-
%% call/1
call(Request) ->