From 35e03646705754180fba7df2ad49b485c7cef7ed Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Thu, 22 Jan 2015 13:29:13 +0000 Subject: [PATCH] Fix compile errors. --- net_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net_io.c b/net_io.c index 507390d..9d94c98 100644 --- a/net_io.c +++ b/net_io.c @@ -743,7 +743,7 @@ char *generateAircraftJson(const char *url_path, int *len) { continue; } - if (a->msgs < 2) { // basic filter for bad decodes + if (a->messages < 2) { // basic filter for bad decodes continue; } @@ -1315,7 +1315,7 @@ static void writeFATSV() { if (a->addr & MODES_NON_ICAO_ADDRESS) continue; - if (a->msgs < 2) // basic filter for bad decodes + if (a->messages < 2) // basic filter for bad decodes continue; // don't emit if it hasn't updated since last time