[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [websocket/master] Update DialOr call to match goptlib API change.



commit baace4fec5b67036c4e75de0934062fbf080cc10
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits