aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-04 15:49:18 +0200
committerAnders Svensson <[email protected]>2013-09-04 16:35:55 +0200
commitc01e53a7caaa11c0745f4e0ce30df387b55f435b (patch)
treecc625df200d750394cc210db5d86c9131896d8b2 /lib/diameter/src/base/diameter_config.erl
parent8cece79b77952c991e62ae595bcf71cde016a052 (diff)
downloadotp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.tar.gz
otp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.tar.bz2
otp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.zip
Fix broken spawn_opt
The option was morphed into a boolean() and then ignored.
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index fc5c284bf2..34b40c3a29 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -651,8 +651,9 @@ make_opts(Opts, Defs) ->
[{K, opt(K,V)} || {K,V} <- Known].
-opt(spawn_opt, L) ->
- is_list(L);
+opt(spawn_opt, L)
+ when is_list(L) ->
+ L;
opt(K, false = B)
when K /= sequence ->