diff options
author | Jörn Engel <joern@wohnheim.fh-wedel.de> | 2003-06-07 19:51:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-07 19:51:07 -0700 |
commit | caa5b9b8b83de4ef110efb8f25266ae82632a223 (patch) | |
tree | 52ddba0900c65ad500338ef927c0571ad65a58e9 /lib | |
parent | d989de20684be92cd431c929a2ed5f57e7388676 (diff) | |
download | history-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.c | 2 |
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; |