diff options
Diffstat (limited to 'modules/util/io.go')
-rw-r--r-- | modules/util/io.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/util/io.go b/modules/util/io.go index 0c677c359f..d765e27733 100644 --- a/modules/util/io.go +++ b/modules/util/io.go @@ -16,5 +16,5 @@ func ReadAtMost(r io.Reader, buf []byte) (n int, err error) { if err == io.EOF || err == io.ErrUnexpectedEOF { err = nil } - return + return n, err } |