aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-07-08 21:04:25 +0200
committerAnders Svensson <[email protected]>2012-08-26 13:52:42 +0200
commitf430c8c706de300122d10c64b316d18917e176b3 (patch)
tree58f23bdae1734279dd7c24ad182ae39094899073 /lib/diameter/src/base/diameter_config.erl
parentcfea5eea406ba3af96588ff458e55de9a149d9c5 (diff)
downloadotp-f430c8c706de300122d10c64b316d18917e176b3.tar.gz
otp-f430c8c706de300122d10c64b316d18917e176b3.tar.bz2
otp-f430c8c706de300122d10c64b316d18917e176b3.zip
Turn last field of #diameter_app{} into an options list
To make for easier adding of future options. The record is only passed into transport modules so the only compatibility issue is with these. (No issue for diameter_{tcp,sctp} and unlikely but theoretically possible for any other implementations, which probably don't exist at this point.)
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index 9253af0de2..2095e926c3 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -600,7 +600,7 @@ app_acc({application, Opts}, Acc) ->
module = init_mod(Mod),
init_state = ModS,
mutable = init_mutable(M),
- answer_errors = init_answers(A)}
+ options = [{answer_errors, init_answers(A)}]}
| Acc];
app_acc(_, Acc) ->
Acc.