From eb77abed3ddca0321c2a8035de89acbb6641e359 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sun, 28 Aug 2016 15:17:43 +1000 Subject: [PATCH] * filter.h : fix stats() definition --- src/filter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filter.h b/src/filter.h index c40c955..0c19959 100644 --- a/src/filter.h +++ b/src/filter.h @@ -18,7 +18,7 @@ typedef struct f2b_filter_t { bool (*append) (void *cfg, const char *pattern); char *(*error) (void *cfg); bool (*ready) (void *cfg); - bool (*stats) (void *cfg, int **matches, char **pattern, bool reset); + bool (*stats) (void *cfg, int *matches, char **pattern, bool reset); bool (*match) (void *cfg, const char *line, char *buf, size_t buf_size); void (*destroy) (void *cfg); } f2b_filter_t;