src/file_gz.c: minor style modification
This commit is contained in:
parent
8c8c6b8d5b
commit
42c8350cdd
1 changed files with 4 additions and 2 deletions
|
@ -109,15 +109,17 @@ static int header_check_gz(const unsigned char *buffer, const unsigned int buffe
|
|||
}
|
||||
if((flags&GZ_FNAME)!=0)
|
||||
{
|
||||
while(off<buffer_size && buffer[off++]!='\0')
|
||||
for(; off<buffer_size && buffer[off]!='\0'; off++)
|
||||
{
|
||||
}
|
||||
off++;
|
||||
}
|
||||
if((flags&GZ_FCOMMENT)!=0)
|
||||
{
|
||||
while(off<buffer_size && buffer[off++]!='\0')
|
||||
for(; off<buffer_size && buffer[off]!='\0'; off++)
|
||||
{
|
||||
}
|
||||
off++;
|
||||
}
|
||||
if((flags&GZ_FHCRC)!=0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue