aboutgitcodelistschat:MatrixIRC
path: root/eater/eater.c
diff options
context:
space:
mode:
Diffstat (limited to 'eater/eater.c')
-rw-r--r--eater/eater.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eater/eater.c b/eater/eater.c
index 0236637..2169eb6 100644
--- a/eater/eater.c
+++ b/eater/eater.c
@@ -23,6 +23,8 @@
#include <sys/stat.h>
#include "common.h"
+#include "filter.h"
+
static struct option options[] = {
{ "input", required_argument, NULL, 'i' },
{ 0, 0, 0, 0 },
@@ -85,7 +87,7 @@ static void signal_handler(__attribute__((unused)) int s)
*/
int main(int argc, char **argv)
{
- struct sock_filter filter[1024];
+ struct sock_filter filter[MAX_FILTER];
struct arguments arguments;
struct sigaction act;
int fd, flags;