Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b188cd76 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Fix a wonkily named function.

I'm going to delete this shortly, but this name has confused
me in the past.

Change-Id: I5e5af7f9f61c3df273bada0808cf647daeaa4e62
parent 6385d626
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }