[Pkg-privacy-commits] [obfs4proxy] 68/151: Run go fmt on proxy_http.go (No functional changes).

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:59:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfs4proxy.

commit 49d3f6e8bbbdd72cb7445b0ff4807c43afac4ce4
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Sun May 25 12:42:07 2014 +0000

    Run go fmt on proxy_http.go (No functional changes).
---
 obfs4proxy/proxy_http.go | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/obfs4proxy/proxy_http.go b/obfs4proxy/proxy_http.go
index 0c518ff..0870e5d 100644
--- a/obfs4proxy/proxy_http.go
+++ b/obfs4proxy/proxy_http.go
@@ -45,7 +45,7 @@ type httpProxy struct {
 	haveAuth bool
 	username string
 	password string
-	forward proxy.Dialer
+	forward  proxy.Dialer
 }
 
 func newHTTP(uri *url.URL, forward proxy.Dialer) (proxy.Dialer, error) {
@@ -55,7 +55,7 @@ func newHTTP(uri *url.URL, forward proxy.Dialer) (proxy.Dialer, error) {
 	if uri.User != nil {
 		s.haveAuth = true
 		s.username = uri.User.Username()
-		s.password,_ = uri.User.Password()
+		s.password, _ = uri.User.Password()
 	}
 
 	return s, nil
@@ -110,10 +110,10 @@ func (s *httpProxy) Dial(network, addr string) (net.Conn, error) {
 
 // httpConn is the mountain of bullshit we need to do just for staleReader.
 type httpConn struct {
-	remoteAddr *net.TCPAddr
-	httpConn *httputil.ClientConn
+	remoteAddr   *net.TCPAddr
+	httpConn     *httputil.ClientConn
 	hijackedConn net.Conn
-	staleReader *bufio.Reader
+	staleReader  *bufio.Reader
 }
 
 func (c *httpConn) Read(b []byte) (int, error) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfs4proxy.git



More information about the Pkg-privacy-commits mailing list