From: Santhosh Kumar Tekuri Date: Fri, 22 Jun 2018 11:20:31 +0000 (+0530) Subject: archive/zip: makes receiver name consistent X-Git-Tag: go1.12beta1~1410 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0b30cf534a03618162d3015c8705dd2231e34703;p=gostls13.git archive/zip: makes receiver name consistent Change-Id: I4d6f7440747d4f935acddc9a5c5928ed911a2fb0 Reviewed-on: https://go-review.googlesource.com/120515 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- 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) {