Update enacl dep and fix some minor details (#1)

Co-authored-by: Ulf Wiger <ulf@wiger.net>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2025-03-08 00:28:12 +09:00
parent 8acbce9269
commit 479ec70870
5 changed files with 9 additions and 16 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),