[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [obfs4/master] Add a missing "continue" statement.



commit dd9fdee55d75e23fff97177999b7fd16613fa27a
Author: Yawning Angel <yawning@xxxxxxxxxxxxxx>
Date:   Wed Aug 20 13:43:43 2014 +0000

    Add a missing "continue" statement.
    
    Caught by asn, thanks.
---
 obfs4proxy/obfs4proxy.go |    1 +
 1 file changed, 1 insertion(+)

diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go
index d3490bf..8820127 100644
--- a/obfs4proxy/obfs4proxy.go
+++ b/obfs4proxy/obfs4proxy.go
@@ -234,6 +234,7 @@ func serverSetup() (launched bool, listeners []net.Listener) {
 		ln, err := net.ListenTCP("tcp", bindaddr.Addr)
 		if err != nil {
 			pt.SmethodError(name, err.Error())
+			continue
 		}
 
 		go serverAcceptLoop(f, ln, &ptServerInfo)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits