Improve/fix buffer handling

This commit is contained in:
Jakob Borg
2013-12-30 15:06:44 -05:00
parent 726afc915a
commit 223bdbb9aa
2 changed files with 1 additions and 2 deletions

View File

@@ -491,7 +491,6 @@ func fileFromFileInfo(f protocol.FileInfo) File {
Length: b.Length,
Hash: b.Hash,
})
buffers.Put(b.Hash)
offset += uint64(b.Length)
}
return File{