From 805a81c22888a2f69c31286924a2ede10d3fe59b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Nov 2009 04:55:22 +0000 Subject: Corrections to the AIS specification, and one fieldname. --- gpsdecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsdecode.c') diff --git a/gpsdecode.c b/gpsdecode.c index 64a264f3..113e65c7 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -258,7 +258,7 @@ static void aivdm_csv_dump(struct ais_t *ais, char *buf, size_t buflen) case 21: /* Aid to Navigation */ (void)snprintf(buf+strlen(buf), buflen-strlen(buf), "%u,%s,%u,%d,%d,%u,%u,%u,%u,%u,%u,%u,0x%x,%u,%u", - ais->type21.type, + ais->type21.aid_type, ais->type21.name, (uint)ais->type21.accuracy, ais->type21.lon, -- cgit v1.2.1