]> git.sur5r.net Git - u-boot/commit
bzlib: Update destLen even on error
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:38 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:44 +0000 (11:35 -0500)
commit362a0e43a37aa5a6316bcf895def4eda8391bb2e
tree8fa486d2f3e18560259877c6cb1abbd14c52cb2c
parent3086c055a073049dcfb1f01bc5c682bd947a1caa
bzlib: Update destLen 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/bzip2/bzlib.c