summaryrefslogtreecommitdiff
path: root/common/socks5/rfc1929.go
diff options
context:
space:
mode:
authorBluesaxorcist <joshua@operatorfoundation.org>2019-10-21 17:32:39 -0500
committerBluesaxorcist <joshua@operatorfoundation.org>2019-10-21 17:32:39 -0500
commit4a56b1440c2bc315adda61b542793b7780cb8730 (patch)
tree819118b10e18373d6ddca31665ba3b7970849652 /common/socks5/rfc1929.go
parent770bc14548a6a48ccbc8be0f0583122cf1dc6f6e (diff)
Removed termmon and fixed compiler warnings
Diffstat (limited to 'common/socks5/rfc1929.go')
-rw-r--r--common/socks5/rfc1929.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/socks5/rfc1929.go b/common/socks5/rfc1929.go
index f8176f1..d7849df 100644
--- a/common/socks5/rfc1929.go
+++ b/common/socks5/rfc1929.go
@@ -39,8 +39,8 @@ func (req *Request) authRFC1929() (err error) {
sendErrResp := func() {
// Swallow write/flush errors, the auth failure is the relevant error.
resp := []byte{authRFC1929Ver, authRFC1929Fail}
- req.rw.Write(resp[:])
- req.flushBuffers()
+ _, _ = req.rw.Write(resp[:])
+ _ = req.flushBuffers()
}
// The client sends a Username/Password request.