diff options
author | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
commit | 77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4 (patch) | |
tree | 4f3a72f05f335d28660b852b16b4d930567e2b51 /monitor_nmea0183.c | |
parent | a5a4102ddba7e8f873a83d08328949c64240db96 (diff) | |
download | gpsd-77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4.tar.gz |
More trailing whitespace fixups.
Diffstat (limited to 'monitor_nmea0183.c')
-rw-r--r-- | monitor_nmea0183.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_nmea0183.c b/monitor_nmea0183.c index ff34b8f9..e664f9a6 100644 --- a/monitor_nmea0183.c +++ b/monitor_nmea0183.c @@ -220,7 +220,7 @@ static void nmea_update(void) /* can be NULL if packet was overlong */ fields = session.nmea.field; - if (session.lexer.outbuffer[0] == (unsigned char)'$' + if (session.lexer.outbuffer[0] == (unsigned char)'$' && fields != NULL && fields[0] != NULL) { int ymax, xmax; timestamp_t now; |