mirror of
https://git.proxmox.com/git/pmg-log-tracker
synced 2025-08-16 00:55:14 +00:00
use gzFile instead of gzFile*
This commit is contained in:
parent
952866a348
commit
53616b4f1b
@ -103,7 +103,7 @@ typedef struct {
|
|||||||
GHashTable *qmgr_h;
|
GHashTable *qmgr_h;
|
||||||
GHashTable *filter_h;
|
GHashTable *filter_h;
|
||||||
//GHashTable *track_h;
|
//GHashTable *track_h;
|
||||||
gzFile *stream[MAX_LOGFILES];
|
gzFile stream[MAX_LOGFILES];
|
||||||
char *from;
|
char *from;
|
||||||
char *to;
|
char *to;
|
||||||
time_t year[MAX_LOGFILES];
|
time_t year[MAX_LOGFILES];
|
||||||
@ -1600,7 +1600,7 @@ parser_count_files (LParser *parser)
|
|||||||
time_t start = parser->start;
|
time_t start = parser->start;
|
||||||
char linebuf[linebufsize];
|
char linebuf[linebufsize];
|
||||||
const char *line;
|
const char *line;
|
||||||
gzFile *stream;
|
gzFile stream;
|
||||||
|
|
||||||
for (i = 0; i < MAX_LOGFILES; i++) {
|
for (i = 0; i < MAX_LOGFILES; i++) {
|
||||||
cur_year = parser->year[i];
|
cur_year = parser->year[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user