diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-12-07 05:22:25 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-12-07 05:22:25 +0000 |
commit | 70f46efc7d2b2a58588f4e6e1e86b926d0c211ee (patch) | |
tree | 7ed8f5a7b9fc6ff3ac26d16788708a31d1e72163 /packet.c | |
parent | b6fc848663d0758cb0e9849eba3e25709d5ba418 (diff) | |
download | gpsd-70f46efc7d2b2a58588f4e6e1e86b926d0c211ee.tar.gz |
Fix a bug in the processing of comment packets.
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -700,6 +700,7 @@ ssize_t packet_parse(struct gps_packet_t *lexer, size_t fix) else if (lexer->state == COMMENT_RECOGNIZED) { packet_accept(lexer, COMMENT_PACKET); packet_discard(lexer); + break; } #ifdef NMEA_ENABLE else if (lexer->state == NMEA_RECOGNIZED) { |