[tor-commits] [snowflake/main] Fix compile bug in client, caught by CI
cohosh at torproject.org
cohosh at torproject.org
Tue Aug 24 14:28:01 UTC 2021
commit ace8df37ed39d77f9db97ead6e9ebac5a8148285
Author: Cecylia Bocovich <cohosh at torproject.org>
Date: Tue Aug 24 10:27:24 2021 -0400
Fix compile bug in client, caught by CI
---
client/snowflake.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/snowflake.go b/client/snowflake.go
index 4ed4fd6..d952275 100644
--- a/client/snowflake.go
+++ b/client/snowflake.go
@@ -90,7 +90,7 @@ func socksAcceptLoop(ln *pt.SocksListener, config sf.ClientConfig, shutdown chan
log.Println("Failed to start snowflake transport: ", err)
return
}
- err := conn.Grant(&net.TCPAddr{IP: net.IPv4zero, Port: 0})
+ err = conn.Grant(&net.TCPAddr{IP: net.IPv4zero, Port: 0})
if err != nil {
log.Printf("conn.Grant error: %s", err)
return
More information about the tor-commits
mailing list