diff options
author | Santhosh Kumar Tekuri <santhosh.tekuri@gmail.com> | 2018-06-22 16:50:31 +0530 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-08-20 23:12:45 +0000 |
commit | 0b30cf534a03618162d3015c8705dd2231e34703 (patch) | |
tree | 6a2389f843a18b2ecf229ec0429d97a003360857 /src/archive | |
parent | 85a0192b59d8d9be9cb3759d128b43a5ebf2d766 (diff) | |
download | go-0b30cf534a03618162d3015c8705dd2231e34703.tar.gz go-0b30cf534a03618162d3015c8705dd2231e34703.zip |
archive/zip: makes receiver name consistent
Change-Id: I4d6f7440747d4f935acddc9a5c5928ed911a2fb0
Reviewed-on: https://go-review.googlesource.com/120515
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/zip/struct.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/zip/struct.go b/src/archive/zip/struct.go index c90151d9d4..bd637d185b 100644 --- a/src/archive/zip/struct.go +++ b/src/archive/zip/struct.go @@ -303,8 +303,8 @@ func (h *FileHeader) SetMode(mode os.FileMode) { } // isZip64 reports whether the file size exceeds the 32 bit limit -func (fh *FileHeader) isZip64() bool { - return fh.CompressedSize64 >= uint32max || fh.UncompressedSize64 >= uint32max +func (h *FileHeader) isZip64() bool { + return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max } func msdosModeToFileMode(m uint32) (mode os.FileMode) { |