diff options
author | Narayan Kamath <narayan@google.com> | 2015-03-13 17:11:39 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-03-13 17:11:39 +0000 |
commit | b188cd76f87dc351d86afb528abe68b6167705f9 (patch) | |
tree | 831210ffc91ef187ef3689aed83d6fbbcf728c8c | |
parent | 6385d626a585017ec1fe4027f4faa79741f9d117 (diff) | |
download | system_core-b188cd76f87dc351d86afb528abe68b6167705f9.zip system_core-b188cd76f87dc351d86afb528abe68b6167705f9.tar.gz system_core-b188cd76f87dc351d86afb528abe68b6167705f9.tar.bz2 |
Fix a wonkily named function.
I'm going to delete this shortly, but this name has confused
me in the past.
Change-Id: I5e5af7f9f61c3df273bada0808cf647daeaa4e62
-rw-r--r-- | libzipfile/zipfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |