]> git.proxmox.com Git - pmg-log-tracker.git/commitdiff
use gzFile instead of gzFile*
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 12 Sep 2017 10:23:04 +0000 (12:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 12 Sep 2017 10:23:04 +0000 (12:23 +0200)
pmg-log-tracker.c

index 2af777aef88e2c12eb4cd15d04450dcbc5e382e6..f6f3b47c8a22dbd7174d1b1f5be0ee2f13b6e47d 100644 (file)
@@ -103,7 +103,7 @@ typedef struct {
   GHashTable *qmgr_h;
   GHashTable *filter_h;
   //GHashTable *track_h;
-  gzFile *stream[MAX_LOGFILES];
+  gzFile stream[MAX_LOGFILES];
   char *from;
   char *to;
   time_t year[MAX_LOGFILES];
@@ -1600,7 +1600,7 @@ parser_count_files (LParser *parser)
   time_t start = parser->start;
   char linebuf[linebufsize];
   const char *line;
-  gzFile *stream;
+  gzFile stream;
 
   for (i = 0; i < MAX_LOGFILES; i++) {
     cur_year = parser->year[i];