mirror of
https://github.com/restic/restic.git
synced 2025-12-04 13:52:15 +00:00
Fix RandomReader
This commit is contained in:
@@ -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