[tor-commits] [websocket/master] Pass nil to ClientSetup and ServerSetup as now documented.
dcf at torproject.org
dcf at torproject.org
Sun Jun 28 03:55:18 UTC 2015
commit c5b5f713533771222cf7844a112630989ec6eca5
Author: David Fifield <david at bamsoftware.com>
Date: Sat Jun 27 20:55:11 2015 -0700
Pass nil to ClientSetup and ServerSetup as now documented.
https://gitweb.torproject.org/pluggable-transports/goptlib.git/commit/?id=65fc8d72eccd82237562744ddc85760d426561d8
---
pt-websocket-client/pt-websocket-client.go | 2 +-
pt-websocket-server/pt-websocket-server.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pt-websocket-client/pt-websocket-client.go b/pt-websocket-client/pt-websocket-client.go
index 20d12bd..f65a9c9 100644
--- a/pt-websocket-client/pt-websocket-client.go
+++ b/pt-websocket-client/pt-websocket-client.go
@@ -205,7 +205,7 @@ func main() {
}
log("starting")
- ptInfo, err = pt.ClientSetup([]string{ptMethodName})
+ ptInfo, err = pt.ClientSetup(nil)
if err != nil {
log("error in setup: %s", err)
os.Exit(1)
diff --git a/pt-websocket-server/pt-websocket-server.go b/pt-websocket-server/pt-websocket-server.go
index c393ebc..b14c754 100644
--- a/pt-websocket-server/pt-websocket-server.go
+++ b/pt-websocket-server/pt-websocket-server.go
@@ -228,7 +228,7 @@ func main() {
log("starting")
var err error
- ptInfo, err = pt.ServerSetup([]string{ptMethodName})
+ ptInfo, err = pt.ServerSetup(nil)
if err != nil {
log("error in setup: %s", err)
os.Exit(1)
More information about the tor-commits
mailing list