aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_service.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-29 13:52:25 +0100
committerAnders Svensson <[email protected]>2012-12-04 15:32:14 +0100
commitb41438d187e168c11140c3a05502224a6c97bdf7 (patch)
tree88881d3471401a3e74d3e372828a20ebc9479c7b /lib/diameter/src/base/diameter_service.erl
parentd5de2e1ffd6403f5d7ec62e6ce8da508e1cb1239 (diff)
downloadotp-b41438d187e168c11140c3a05502224a6c97bdf7.tar.gz
otp-b41438d187e168c11140c3a05502224a6c97bdf7.tar.bz2
otp-b41438d187e168c11140c3a05502224a6c97bdf7.zip
Add missing error handling clause for handle_request packet return
This should have been included in commit 91a223d3.
Diffstat (limited to 'lib/diameter/src/base/diameter_service.erl')
-rw-r--r--lib/diameter/src/base/diameter_service.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index a4a0b80348..765288ca2e 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -2238,6 +2238,9 @@ rc(RC) ->
%% rc/4
+rc(#diameter_packet{msg = Rec} = Pkt, RC, Failed, Dict) ->
+ Pkt#diameter_packet{msg = rc(Rec, RC, Failed, Dict)};
+
rc(Rec, RC, Failed, Dict)
when is_integer(RC) ->
set(Rec,