commit accf2fe0da2b4e1bff9e7edf2c5d6a333730706f Author: David Fifield david@bamsoftware.com Date: Sat May 11 16:07:28 2013 -0700
Messed up the struct literal syntax. --- websocket-transport/socks.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/websocket-transport/socks.go b/websocket-transport/socks.go index 94732a0..1fa847f 100644 --- a/websocket-transport/socks.go +++ b/websocket-transport/socks.go @@ -94,7 +94,7 @@ func SendSocks4aResponse(w io.Writer, code byte, addr *net.TCPAddr) error { return err }
-var emptyAddr = net.TCPAddr{IP = net.IPv4(0, 0, 0, 0), Port = 0} +var emptyAddr = net.TCPAddr{IP: net.IPv4(0, 0, 0, 0), Port: 0}
// Send a SOCKS4a response code 0x5a. func SendSocks4aResponseGranted(w io.Writer, addr *net.TCPAddr) error {