aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJörn Engel <joern@wohnheim.fh-wedel.de>2003-06-07 19:51:07 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-06-07 19:51:07 -0700
commitcaa5b9b8b83de4ef110efb8f25266ae82632a223 (patch)
tree52ddba0900c65ad500338ef927c0571ad65a58e9 /lib
parentd989de20684be92cd431c929a2ed5f57e7388676 (diff)
downloadhistory-caa5b9b8b83de4ef110efb8f25266ae82632a223.tar.gz
[PATCH] zlib merge: return code
Don't think anyone actually bothers to check specific error codes, but it shouldn't hurt either.
Diffstat (limited to 'lib')
-rw-r--r--lib/zlib_inflate/inftrees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib_inflate/inftrees.c b/lib/zlib_inflate/inftrees.c
index 13752e4cb49230..edae599f633a3a 100644
--- a/lib/zlib_inflate/inftrees.c
+++ b/lib/zlib_inflate/inftrees.c
@@ -229,7 +229,7 @@ static int huft_build(
/* allocate new table */
if (*hn + z > MANY) /* (note: doesn't matter for fixed) */
- return Z_MEM_ERROR; /* not enough memory */
+ return Z_DATA_ERROR; /* overflow of MANY */
u[h] = q = hp + *hn;
*hn += z;