mirror of
https://github.com/restic/restic.git
synced 2026-10-17 23:18:12 +00:00
Fix RandomReader
This commit is contained in:
1 parent
f53008d916
commit
109a120b39
2 files changed
+2
-5
No files matched your search
@@ -90,7 +90,6 @@ type rndReader struct {
|
||||
}
|
||||
|
||||
func (r *rndReader) Read(p []byte) (int, error) {
|
||||
fmt.Printf("Read(%v)\n", len(p))
|
||||
for i := range p {
|
||||
p[i] = byte(r.src.Uint32())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user