Fix compile errors.

This commit is contained in:
Oliver Jowett 2015-01-22 13:29:13 +00:00
parent 70e8579850
commit 35e0364670

View file

@ -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