Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The checking `n` returned by `io.ReadFull()` is removed because `io.ReadFull()` returns n == len(buf) if and only if err == nil according to its document ( https://golang.org/pkg/io/#ReadFull ) and it's enough to check only `err`.
- Loading branch information