mirror of
https://github.com/golang/go
synced 2024-11-22 23:50:03 -07:00
fix bug in FullyReader
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=19131 CL=19131
This commit is contained in:
parent
20b9bfb136
commit
6e70c2c74f
@ -65,7 +65,7 @@ type FullRead struct {
|
||||
}
|
||||
|
||||
func (fd *FullRead) Read(p *[]byte) (n int, err *os.Error) {
|
||||
n, err = Readn(fd, p);
|
||||
n, err = Readn(fd.fd, p);
|
||||
return n, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user