[tor-commits] [flashproxy/master] Move ptMethodName.

dcf at torproject.org dcf at torproject.org
Thu May 30 23:40:11 UTC 2013


commit 6a9c1cc4b3fed66c79082aae46520bd7ff039ca8
Author: David Fifield <david at bamsoftware.com>
Date:   Thu May 30 14:38:02 2013 -0700

    Move ptMethodName.
---
 websocket-transport/websocket-client.go |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/websocket-transport/websocket-client.go b/websocket-transport/websocket-client.go
index 7e399e3..334c78c 100644
--- a/websocket-transport/websocket-client.go
+++ b/websocket-transport/websocket-client.go
@@ -18,6 +18,7 @@ import (
 	"time"
 )
 
+const ptMethodName = "websocket"
 const socksTimeout = 2
 const bufSiz = 1500
 
@@ -172,7 +173,6 @@ func startListener(addrStr string) (*net.TCPListener, error) {
 }
 
 func main() {
-	const ptMethodName = "websocket"
 	var defaultSocksAddrStrs = []string{"127.0.0.1:0"}
 	var socksAddrStrs []string
 





More information about the tor-commits mailing list