diff options
author | Emile Joubert <emile@rabbitmq.com> | 2010-09-14 15:11:13 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2010-09-14 15:11:13 +0100 |
commit | 8f3d172303d099afe0aa5a208ea63f7a8c14fa88 (patch) | |
tree | 0491a109b48bb3bc313171fe4a5cc881e145b6f0 /src/rabbit_networking.erl | |
parent | e3185f53b837b1dcbc7ac63df35e42326d5f8464 (diff) | |
download | rabbitmq-server-8f3d172303d099afe0aa5a208ea63f7a8c14fa88.tar.gz |
Change 'case' to 'if'
Diffstat (limited to 'src/rabbit_networking.erl')
-rw-r--r-- | src/rabbit_networking.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index 3dd2d3f7..4b20d053 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -123,9 +123,8 @@ boot_ssl() -> FilteredCipherSuites = [C || C <- CipherSuites, begin - SuiteCode = case C of - T when is_tuple(C) -> ssl_cipher:suite(T); - S when is_list(C) -> ssl_cipher:openssl_suite(S) + SuiteCode = if is_tuple(C) -> ssl_cipher:suite(C); + is_list(C) -> ssl_cipher:openssl_suite(C) end, SP = ssl_cipher:security_parameters(SuiteCode, #security_parameters{}), |