diff options
author | Anders Svensson <[email protected]> | 2013-09-04 15:49:18 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-09-04 16:35:55 +0200 |
commit | c01e53a7caaa11c0745f4e0ce30df387b55f435b (patch) | |
tree | cc625df200d750394cc210db5d86c9131896d8b2 /lib/diameter/src/base/diameter_config.erl | |
parent | 8cece79b77952c991e62ae595bcf71cde016a052 (diff) | |
download | otp-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.erl | 5 |
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 -> |