aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Key <[email protected]>2013-10-29 07:35:44 -1000
committerFredrik Gustafsson <[email protected]>2013-10-31 09:11:04 +0100
commitfd60460ddcbc83907768ec00c234c5e28a7fa549 (patch)
treebb202a545c9dca15af66005f14159d1a48977a10
parentb646475f55504acb9b55345e1de2899bb7f18d19 (diff)
downloadotp-fd60460ddcbc83907768ec00c234c5e28a7fa549.tar.gz
otp-fd60460ddcbc83907768ec00c234c5e28a7fa549.tar.bz2
otp-fd60460ddcbc83907768ec00c234c5e28a7fa549.zip
Remove extraneous dev debug code left in the close function.
We do not need a traceback on every close in inet_tls_dist and this breaks using nodetool in control scripts on SSL clustered nodes
-rw-r--r--lib/ssl/src/inet_tls_dist.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ssl/src/inet_tls_dist.erl b/lib/ssl/src/inet_tls_dist.erl
index 57c859bf24..7367b5c224 100644
--- a/lib/ssl/src/inet_tls_dist.erl
+++ b/lib/ssl/src/inet_tls_dist.erl
@@ -95,11 +95,6 @@ do_setup(Kernel, Node, Type, MyNode, LongOrShortNames, SetupTime) ->
end.
close(Socket) ->
- try
- erlang:error(foo)
- catch _:_ ->
- io:format("close called ~p ~p~n",[Socket, erlang:get_stacktrace()])
- end,
gen_tcp:close(Socket),
ok.