[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [meek/master] Pass nil to ClientSetup and ServerSetup as now documented.
commit 6b3663aa109b3414972feba1232202520671475e
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Sat Jun 27 20:53:51 2015 -0700
Pass nil to ClientSetup and ServerSetup as now documented.
https://gitweb.torproject.org/pluggable-transports/goptlib.git/commit/?id=65fc8d72eccd82237562744ddc85760d426561d8
---
meek-client/meek-client.go | 2 +-
meek-server/meek-server.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meek-client/meek-client.go b/meek-client/meek-client.go
index 2b8bbaa..a5dea2e 100644
--- a/meek-client/meek-client.go
+++ b/meek-client/meek-client.go
@@ -394,7 +394,7 @@ func main() {
httpTransport = *http.DefaultTransport.(*http.Transport)
httpTransport.Proxy = nil
- ptInfo, err = pt.ClientSetup([]string{ptMethodName})
+ ptInfo, err = pt.ClientSetup(nil)
if err != nil {
log.Fatalf("error in ClientSetup: %s", err)
}
diff --git a/meek-server/meek-server.go b/meek-server/meek-server.go
index ac5aa3e..5b28e79 100644
--- a/meek-server/meek-server.go
+++ b/meek-server/meek-server.go
@@ -348,7 +348,7 @@ func main() {
}
var err error
- ptInfo, err = pt.ServerSetup([]string{ptMethodName})
+ ptInfo, err = pt.ServerSetup(nil)
if err != nil {
log.Fatalf("error in ServerSetup: %s", err)
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits