From b188cd76f87dc351d86afb528abe68b6167705f9 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Fri, 13 Mar 2015 17:11:39 +0000 Subject: Fix a wonkily named function. I'm going to delete this shortly, but this name has confused me in the past. Change-Id: I5e5af7f9f61c3df273bada0808cf647daeaa4e62 --- libzipfile/zipfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libzipfile') diff --git a/libzipfile/zipfile.c b/libzipfile/zipfile.c index b903fcf..1032ecc 100644 --- a/libzipfile/zipfile.c +++ b/libzipfile/zipfile.c @@ -76,7 +76,7 @@ enum { }; static int -uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) +inflate_wrapper(unsigned char* out, int unlen, const unsigned char* in, int clen) { z_stream zstream; int err = 0; @@ -121,7 +121,7 @@ decompress_zipentry(zipentry_t e, void* buf, int bufsize) memcpy(buf, entry->data, entry->uncompressedSize); return 0; case DEFLATED: - return uninflate(buf, bufsize, entry->data, entry->compressedSize); + return inflate_wrapper(buf, bufsize, entry->data, entry->compressedSize); default: return -1; } -- cgit v1.1