Update enacl dep and fix some minor details #1

Merged
uwiger merged 2 commits from uw-deps-and-warnings into master 2025-03-08 00:28:13 +09:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 892cd06d0f - Show all commits

View File

@ -2,6 +2,9 @@
{plugins, [rebar3_hex]}. {plugins, [rebar3_hex]}.
{deps, [{enacl, {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70"}}}]}. {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, {xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, locals_not_used,
deprecated_function_calls, deprecated_functions]}. deprecated_function_calls, deprecated_functions]}.

View File

@ -26,7 +26,7 @@ echo_srv(Port, Protocol, SKP, SrvOpts) ->
AcceptRes = AcceptRes =
try try
enoise:accept(TcpSock, Opts) 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), gen_tcp:close(LSock),