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

yawning at torproject.org yawning at torproject.org
Wed Aug 20 13:45:03 UTC 2014


commit dd9fdee55d75e23fff97177999b7fd16613fa27a
Author: Yawning Angel <yawning at torproject.org>
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)



More information about the tor-commits mailing list