mirror of
https://github.com/golang/go
synced 2024-11-12 03:50:21 -07:00
minor fix
R=rsc DELTA=2 (1 added, 1 deleted, 0 changed) OCL=32828 CL=32830
This commit is contained in:
parent
158f3f6440
commit
2117ad192d
@ -107,11 +107,11 @@ func (b *Reader) fill() os.Error {
|
||||
|
||||
// Read new data.
|
||||
n, e := b.rd.Read(b.buf[b.w:len(b.buf)]);
|
||||
b.w += n;
|
||||
if e != nil {
|
||||
b.err = e;
|
||||
return e
|
||||
}
|
||||
b.w += n;
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user