From a05b5b5ab96ada1720d13b8b576bd59e03601dd9 Mon Sep 17 00:00:00 2001 From: Dingjun Date: Wed, 23 Nov 2016 15:28:18 +0800 Subject: [PATCH] fix mis-typed dash --- socks5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socks5.go b/socks5.go index 4b67f03..cb1b858 100644 --- a/socks5.go +++ b/socks5.go @@ -141,7 +141,7 @@ func (s5 *socks5Conn) forward() { go func() { io.Copy(s5.serverConn, s5.clientConn) - c < 1 + c <- 1 }() <-c