commit 42cdd5307749a40e7cd4c4b66997aac447034a40
Author: David Fifield <da...@bamsoftware.com>
Date:   Fri Jan 20 15:22:11 2017 -0800

    continue, not break, after SmethodError.
    
    This was a bug added in 8378f8595214449cc3fd1db44f5463b72d237836 when
    this code was moved out of a switch.
---
 server/server.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/server.go b/server/server.go
index 9bfe9e9..1b26a70 100644
--- a/server/server.go
+++ b/server/server.go
@@ -272,7 +272,7 @@ func main() {
                }
                if err != nil {
                        pt.SmethodError(bindaddr.MethodName, err.Error())
-                       break
+                       continue
                }
                pt.SmethodArgs(bindaddr.MethodName, ln.Addr(), args)
                listeners = append(listeners, ln)

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

Reply via email to