[tor-commits] [snowflake/master] NewWebRTCDialer cannot return an error.
dcf at torproject.org
dcf at torproject.org
Tue Jan 28 03:58:52 UTC 2020
commit 509f634506d90db2c113de70d50fe8894c542c3a
Author: David Fifield <david at bamsoftware.com>
Date: Tue Dec 24 18:00:59 2019 -0700
NewWebRTCDialer cannot return an error.
---
client/snowflake.go | 4 ----
1 file changed, 4 deletions(-)
diff --git a/client/snowflake.go b/client/snowflake.go
index bd53f65..99226b8 100644
--- a/client/snowflake.go
+++ b/client/snowflake.go
@@ -134,10 +134,6 @@ func main() {
broker := sf.NewBrokerChannel(*brokerURL, *frontDomain, sf.CreateBrokerTransport())
snowflakes.Tongue = sf.NewWebRTCDialer(broker, iceServers)
- if nil == snowflakes.Tongue {
- log.Fatal("Unable to prepare rendezvous method.")
- return
- }
// Use a real logger to periodically output how much traffic is happening.
snowflakes.BytesLogger = &sf.BytesSyncLogger{
InboundChan: make(chan int, 5),
More information about the tor-commits
mailing list