1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

Minor code clean up in b2 backend code.

This commit is contained in:
Joe Turgeon 2016-12-11 21:02:54 -06:00
parent 38043c3acb
commit fce667a905
No known key found for this signature in database
GPG key ID: 7B63B97D65DC695F

View file

@ -110,7 +110,7 @@ func (be b2) Load(h restic.Handle, p []byte, off int64) (n int, err error) {
defer r.Close()
bufsize := int64(len(p))
var pos int64 = 0
var pos int64
// loop to read chunks until the buffer is full or EOF is reached
for {