[tor-commits] [websocket/master] Update DialOr call to match goptlib API change.
dcf at torproject.org
dcf at torproject.org
Sun Dec 15 01:39:55 UTC 2013
commit baace4fec5b67036c4e75de0934062fbf080cc10
Author: David Fifield <david at 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/b0a3458e272e8f54bb94d7ae346a3362ba018862
---
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
More information about the tor-commits
mailing list