summaryrefslogtreecommitdiffhomepage
path: root/listeners.go
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2020-01-03 21:33:22 +0300
committerMatt Holt <[email protected]>2020-01-03 11:33:22 -0700
commitdff78d82ce21d97cad53171b72b88550e02c2c7f (patch)
treec40db6f01dbeee0b23db1a67cd4d0e431a639071 /listeners.go
parent8c7c2e4af2e4e7ad842b959e2100855f6edadd68 (diff)
downloadcaddy-dff78d82ce21d97cad53171b72b88550e02c2c7f.tar.gz
caddy-dff78d82ce21d97cad53171b72b88550e02c2c7f.zip
v2: housekeeping: address minor lint complaints (#2957)
* v2: housekeeping: update tools * v2: housekeeping: adhere to US locale in spelling * v2: housekeeping: simplify code
Diffstat (limited to 'listeners.go')
-rw-r--r--listeners.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/listeners.go b/listeners.go
index f20d56c13..ae1873f1a 100644
--- a/listeners.go
+++ b/listeners.go
@@ -138,7 +138,7 @@ func (fcl *fakeCloseListener) Accept() (net.Conn, error) {
fcl.deadlineMu.Unlock()
if atomic.LoadInt32(&fcl.closed) == 1 {
- // if we cancelled the Accept() by setting a deadline
+ // if we canceled the Accept() by setting a deadline
// on the listener, we need to make sure any callers of
// Accept() think the listener was actually closed;
// if we return the timeout error instead, callers might