Revert change in blob.go

This commit is contained in:
Chris Masone
2015-08-26 09:03:38 -07:00
parent ccd70d7c65
commit 24e0e436e4
+2 -2
View File
@@ -31,8 +31,8 @@ func NewBlob(r io.Reader) (Blob, error) {
blobs := []Future{}
var blob blobLeaf
for {
buf := &bytes.Buffer{}
n, err := copyChunk(buf, r)
buf := bytes.Buffer{}
n, err := copyChunk(&buf, r)
if err != nil {
return nil, err
}