From 09c482d5016cfc7b628058893a1644fdf5fa699f Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 23 Sep 2023 13:18:49 -0600 Subject: nit style fix --- internal/server.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'internal/server.go') diff --git a/internal/server.go b/internal/server.go index 1ae594b..a95efc1 100644 --- a/internal/server.go +++ b/internal/server.go @@ -81,10 +81,7 @@ func (s *Server) Serve() error { s.Wg.Add(1) go func() { defer s.Wg.Done() - defer func() { - _ = conn.Close() - }() - + defer func() { _ = conn.Close() }() s.HandleConn(conn) }() } -- cgit v1.2.3