src/file_gz.c: minor style modification

This commit is contained in:
Christophe Grenier 2018-03-22 13:20:30 +01:00
parent 8c8c6b8d5b
commit 42c8350cdd

View file

@ -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)
{