aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2021-02-24 08:38:08 -0500
committerAdnan Maolood <[email protected]>2021-02-24 08:38:08 -0500
commit094c16297b32ba4a236d9361f70a6f61432f2fee (patch)
tree60d6b999aa8c14eb25048fe24a1731523bdc7d07
parentTimeoutHandler: Mention returned error (diff)
downloadgo-gemini-094c16297b32ba4a236d9361f70a6f61432f2fee.tar.xz
go-gemini-094c16297b32ba4a236d9361f70a6f61432f2fee.zip
server: Fix comment
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index fb8f287..369c3bc 100644
--- a/server.go
+++ b/server.go
@@ -52,7 +52,7 @@ type Server struct {
listeners map[*net.Listener]context.CancelFunc
conns map[*net.Conn]context.CancelFunc
- closed bool // true if Closed or Shutdown called
+ closed bool // true if Close or Shutdown called
shutdown bool // true if Shutdown called
doneChan chan struct{}
mu sync.Mutex