diff options
author | Mohammed Al Sahaf <[email protected]> | 2020-01-03 21:33:22 +0300 |
---|---|---|
committer | Matt Holt <[email protected]> | 2020-01-03 11:33:22 -0700 |
commit | dff78d82ce21d97cad53171b72b88550e02c2c7f (patch) | |
tree | c40db6f01dbeee0b23db1a67cd4d0e431a639071 /listeners.go | |
parent | 8c7c2e4af2e4e7ad842b959e2100855f6edadd68 (diff) | |
download | caddy-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.go | 2 |
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 |