aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2016-08-25 17:51:51 +0200
committerAnders Svensson <[email protected]>2016-08-26 00:21:01 +0200
commitd41cfa87e43725953b4eb3efca31413708b71ed4 (patch)
tree3ce8d3745674d8592112b47ebc0be49af7239d4a /lib
parentac5ac51a627dda552363be5c5268cac67ad993b2 (diff)
downloadotp-d41cfa87e43725953b4eb3efca31413708b71ed4.tar.gz
otp-d41cfa87e43725953b4eb3efca31413708b71ed4.tar.bz2
otp-d41cfa87e43725953b4eb3efca31413708b71ed4.zip
Fix dictionary function typo
It's '#get-'/2, not 'get-'/2. Only failed if the dictionary in question defined no Failed-AVP, which is rarely the case in practice. Thanks to Ferenc Holzhauser.
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index 2112941d5e..f22ca737a9 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -911,7 +911,7 @@ failed(Rec, FailedAvp, Dict) ->
{'Failed-AVP', [FailedAvp]}
catch
error: _ ->
- Avps = Dict:'get-'('AVP', Rec),
+ Avps = Dict:'#get-'('AVP', Rec),
A = #diameter_avp{name = 'Failed-AVP',
value = FailedAvp},
{'AVP', [A|Avps]}