commit baace4fec5b67036c4e75de0934062fbf080cc10 Author: David Fifield david@bamsoftware.com Date: Sat Dec 14 16:49:18 2013 -0800
Update DialOr call to match goptlib API change.
https://gitweb.torproject.org/pluggable-transports/goptlib.git/commitdiff/b0... --- websocket-server/websocket-server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/websocket-server/websocket-server.go b/websocket-server/websocket-server.go index 28bcf35..84b5e5c 100644 --- a/websocket-server/websocket-server.go +++ b/websocket-server/websocket-server.go @@ -176,7 +176,7 @@ func webSocketHandler(ws *websocket.WebSocket) { handlerChan <- -1 }()
- or, err := pt.DialOr(&ptInfo, ws.Conn.RemoteAddr(), ptMethodName) + or, err := pt.DialOr(&ptInfo, ws.Conn.RemoteAddr().String(), ptMethodName) if err != nil { log("Failed to connect to ORPort: " + err.Error()) return