summaryrefslogtreecommitdiffstats
path: root/src/file_gz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_gz.c')
-rw-r--r--src/file_gz.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/file_gz.c b/src/file_gz.c
index a4155f3..6799337 100644
--- a/src/file_gz.c
+++ b/src/file_gz.c
@@ -96,11 +96,15 @@ 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');
+ while(off<buffer_size && buffer[off++]!='\0')
+ {
+ }
}
if((flags&GZ_FCOMMENT)!=0)
{
- while(off<buffer_size && buffer[off++]!='\0');
+ while(off<buffer_size && buffer[off++]!='\0')
+ {
+ }
}
if((flags&GZ_FHCRC)!=0)
{