Revert mistaken edit, fix obsolete code in enoise_utils
This commit is contained in:
parent
0c83e00ddf
commit
892cd06d0f
@ -2,6 +2,9 @@
|
||||
{plugins, [rebar3_hex]}.
|
||||
{deps, [{enacl, {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70"}}}]}.
|
||||
|
||||
{profiles, [{test, [{deps, [{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}}]}]}
|
||||
]}.
|
||||
|
||||
{xref_checks, [undefined_function_calls, undefined_functions,
|
||||
locals_not_used,
|
||||
deprecated_function_calls, deprecated_functions]}.
|
||||
|
@ -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),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user