commit dfee1a81067afdea57b78c32c290d955e70b8533 Author: David Fifield david@bamsoftware.com Date: Tue Dec 10 23:35:47 2013 -0800
Consistent declarations. --- pt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pt.go b/pt.go index 3478905..313a0c9 100644 --- a/pt.go +++ b/pt.go @@ -541,7 +541,7 @@ func ServerSetup(methodNames []string) (info ServerInfo, err error) { } }
- var extendedOrPort = getenv("TOR_PT_EXTENDED_SERVER_PORT") + extendedOrPort := getenv("TOR_PT_EXTENDED_SERVER_PORT") if extendedOrPort != "" { info.ExtendedOrAddr, err = resolveAddr(extendedOrPort) if err != nil { @@ -549,7 +549,7 @@ func ServerSetup(methodNames []string) (info ServerInfo, err error) { return } } - var authCookieFilename = getenv("TOR_PT_AUTH_COOKIE_FILE") + authCookieFilename := getenv("TOR_PT_AUTH_COOKIE_FILE") if authCookieFilename != "" { info.AuthCookie, err = readAuthCookieFile(authCookieFilename) if err != nil {
tor-commits@lists.torproject.org