1
0
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:
Rob Pike 2008-11-12 19:04:56 -08:00
parent 20b9bfb136
commit 6e70c2c74f

View File

@ -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
}