lib: gzip: lower the message when parse header
Change-Id: Iedd2cbefac99fb17256770dc334741b9e760c449 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
d6ceaafd1a
commit
bcf5a32a7c
|
|
@ -50,7 +50,7 @@ int gzip_parse_header(const unsigned char *src, unsigned long len)
|
|||
i = 10;
|
||||
flags = src[3];
|
||||
if (src[2] != DEFLATED || (flags & RESERVED) != 0) {
|
||||
puts ("Error: Bad gzipped data\n");
|
||||
debug("Error: Bad gzipped data\n");
|
||||
return (-1);
|
||||
}
|
||||
if ((flags & EXTRA_FIELD) != 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue