aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-04-18 20:18:07 +0200
committerAnders Svensson <[email protected]>2017-06-12 16:13:52 +0200
commit3574624cd77afe2acbae81f712e5f4623e3c3c4d (patch)
tree0370d8d080a1ad0f73bdac7b8b7addb3c243c8f5 /lib
parentd5d3d5fa029cd04261921427bb0f64ca0efc7b8c (diff)
downloadotp-3574624cd77afe2acbae81f712e5f4623e3c3c4d.tar.gz
otp-3574624cd77afe2acbae81f712e5f4623e3c3c4d.tar.bz2
otp-3574624cd77afe2acbae81f712e5f4623e3c3c4d.zip
Use dictionary '#new-'/1 when creating CEA
Which is the equivalent of what was done with '#new-'/1 and '#set-'/2.
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter_capx.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_capx.erl b/lib/diameter/src/base/diameter_capx.erl
index 07a678c617..30ac847a54 100644
--- a/lib/diameter/src/base/diameter_capx.erl
+++ b/lib/diameter/src/base/diameter_capx.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2015. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -349,7 +349,7 @@ cs(LS, RS) ->
cea_from_cer(CER, Dict) ->
RecName = Dict:msg2rec('CEA'),
[_ | Values] = Dict:'#get-'(CER),
- Dict:'#set-'(Values, Dict:'#new-'(RecName)).
+ Dict:'#new-'([RecName | Values]).
%% rCEA/3