From 4dacb291aba96c2f0cbbe2c90142b38251303ba5 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 14 Sep 2016 17:19:36 +0100 Subject: [PATCH] Fix tabs in faup1090 output. --- net_io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net_io.c b/net_io.c index 414e3cb..60be682 100644 --- a/net_io.c +++ b/net_io.c @@ -1695,9 +1695,9 @@ static void writeFATSVEventMessage(struct modesMessage *mm, const char *datafiel p += snprintf(p, bufsize(p, end), "clock\t%" PRIu64, mstime() / 1000); if (mm->addr & MODES_NON_ICAO_ADDRESS) { - p += snprintf(p, bufsize(p, end), "otherid\t%06X\t", mm->addr & 0xFFFFFF); + p += snprintf(p, bufsize(p, end), "\totherid\t%06X", mm->addr & 0xFFFFFF); } else { - p += snprintf(p, bufsize(p, end), "hexid\t%06X\t", mm->addr); + p += snprintf(p, bufsize(p, end), "\thexid\t%06X", mm->addr); } if (mm->addrtype != ADDR_ADSB_ICAO) { @@ -1890,9 +1890,9 @@ static void writeFATSV() p += snprintf(p, bufsize(p, end), "clock\t%" PRIu64, (uint64_t)(a->seen / 1000)); if (a->addr & MODES_NON_ICAO_ADDRESS) { - p += snprintf(p, bufsize(p, end), "otherid\t%06X\t", a->addr & 0xFFFFFF); + p += snprintf(p, bufsize(p, end), "\totherid\t%06X", a->addr & 0xFFFFFF); } else { - p += snprintf(p, bufsize(p, end), "hexid\t%06X\t", a->addr); + p += snprintf(p, bufsize(p, end), "\thexid\t%06X", a->addr); } if (a->addrtype != ADDR_ADSB_ICAO) {