summaryrefslogtreecommitdiff
path: root/driver_italk.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-27 08:17:53 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-27 08:17:53 -0400
commit95e1dc568463108afaa55d7afaa3dda50e93b45a (patch)
treef6bfb99d1b174e0a4d9c2485dcb21e83483ae8dc /driver_italk.c
parent05806755dbd7d671201df03194ddfebca1553a62 (diff)
downloadgpsd-95e1dc568463108afaa55d7afaa3dda50e93b45a.tar.gz
Structure member name change: packet -> lexer. No logic changes.
All regression tests pass.
Diffstat (limited to 'driver_italk.c')
-rw-r--r--driver_italk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver_italk.c b/driver_italk.c
index 94f78118..76f24a3e 100644
--- a/driver_italk.c
+++ b/driver_italk.c
@@ -384,12 +384,12 @@ static gps_mask_t italk_parse(struct gps_device_t *session,
static gps_mask_t italk_parse_input(struct gps_device_t *session)
{
- if (session->packet.type == ITALK_PACKET) {
- return italk_parse(session, session->packet.outbuffer,
- session->packet.outbuflen);;
+ if (session->lexer.type == ITALK_PACKET) {
+ return italk_parse(session, session->lexer.outbuffer,
+ session->lexer.outbuflen);;
#ifdef NMEA_ENABLE
- } else if (session->packet.type == NMEA_PACKET) {
- return nmea_parse((char *)session->packet.outbuffer, session);
+ } else if (session->lexer.type == NMEA_PACKET) {
+ return nmea_parse((char *)session->lexer.outbuffer, session);
#endif /* NMEA_ENABLE */
} else
return 0;