]> sjero.net Git - wget/commitdiff
warc: use the right type for the gzip stream
authorMike Frysinger <vapier@gentoo.org>
Sat, 26 May 2012 12:05:56 +0000 (14:05 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 26 May 2012 12:05:56 +0000 (14:05 +0200)
src/ChangeLog
src/warc.c

index 8b96c628ab9c9995b1c3b8d7f4c22a7e1a48e183..d7a13ac0838187fee01a78d33e60b26ec6ad4e80 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-26  Mike Frysinger <vapier@gentoo.org>
+
+       * warc.c: Change type of `warc_current_gzfile' to gzFile.
+
 2012-05-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to
index 6935aaf1b136144626e92a2080047d5129929e93..24751dbf90d028471477aad0feb5af92f645b31d 100644 (file)
@@ -75,7 +75,7 @@ static FILE *warc_current_file;
 #ifdef HAVE_LIBZ
 /* The gzip stream for the current WARC file
    (or NULL, if WARC or gzip is disabled). */
-static gzFile *warc_current_gzfile;
+static gzFile warc_current_gzfile;
 
 /* The offset of the current gzip record in the WARC file. */
 static off_t warc_current_gzfile_offset;