use gzFile instead of gzFile*

This commit is contained in:
Dietmar Maurer 2017-09-12 12:23:04 +02:00
parent 952866a348
commit 53616b4f1b

View 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];