aboutsummaryrefslogtreecommitdiffstats
path: root/client.go
diff options
context:
space:
mode:
authorCarlos Cobo <toqueteos@gmail.com>2015-05-18 17:33:14 +0200
committerCarlos Cobo <toqueteos@gmail.com>2015-05-20 13:46:48 +0200
commitfc9f0643b21cfe571046e27e0c4565f3a1ee96c8 (patch)
tree2ec084715b5de477e62d520db8866342bbe90971 /client.go
parentc088fd6a7e1a38e9d5a9815265cb575bb08d08ff (diff)
downloadgo-git-fc9f0643b21cfe571046e27e0c4565f3a1ee96c8.tar.gz
Fixes #50.
Revamped PackfileReader internals, no longer using a give back buffer.
Diffstat (limited to 'client.go')
-rw-r--r--client.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/client.go b/client.go
index e4b4d44..f7fd669 100644
--- a/client.go
+++ b/client.go
@@ -119,7 +119,6 @@ func (c *Client) GetPackFile(want string) (io.ReadCloser, error) {
}
func (c *Client) buildRequest(method, url string, content *strings.Reader) (*http.Request, error) {
-
var req *http.Request
var err error
if content == nil {