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

[tor-commits] [goptlib/master] fmt



commit 16617bac2950f6b9aa4c383dee34a093e159a83f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Wed Dec 11 00:06:29 2013 -0800

    fmt
---
 pt.go |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pt.go b/pt.go
index 313a0c9..eae604d 100644
--- a/pt.go
+++ b/pt.go
@@ -559,7 +559,7 @@ func ServerSetup(methodNames []string) (info ServerInfo, err error) {
 	}
 
 	// Need either OrAddr or ExtendedOrAddr.
-	if (info.OrAddr == nil && (info.ExtendedOrAddr == nil || info.AuthCookie == nil)) {
+	if info.OrAddr == nil && (info.ExtendedOrAddr == nil || info.AuthCookie == nil) {
 		err = envError("need TOR_PT_ORPORT or TOR_PT_EXTENDED_SERVER_PORT environment variable")
 		return
 	}

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