Revert mistaken edit, fix obsolete code in enoise_utils

This commit is contained in:
Ulf Wiger
2025-03-07 13:50:09 +01:00
parent 0c83e00ddf
commit 892cd06d0f
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ echo_srv(Port, Protocol, SKP, SrvOpts) ->
AcceptRes =
try
enoise:accept(TcpSock, Opts)
catch _:R -> gen_tcp:close(TcpSock), {error, {R, erlang:get_stacktrace()}} end,
catch _:R:T -> gen_tcp:close(TcpSock), {error, {R, T}} end,
gen_tcp:close(LSock),