gunzip: Update lenp even on error
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:39 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:44 +0000 (11:35 -0500)
commit9c55c54fb474ba5bc005e489639aa06c3c00d012
treea8f70a715afa7efb79668fc926ae8df026ab28a7
parent362a0e43a37aa5a6316bcf895def4eda8391bb2e
gunzip: Update lenp even on error

This allows the caller to easily detect how much of the destination buffer
has been used.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/gunzip.c