summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-06 09:53:26 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-06 09:53:26 +0000
commitf17384a0ca128691571d04ccd053a214d93c604e (patch)
tree200f9323be7b1e9e04f3981e5d437d3636865685 /drivers.c
parentadf8e931c9f4eaa07a7533d8f245bfa84c5297e4 (diff)
downloadgpsd-f17384a0ca128691571d04ccd053a214d93c604e.tar.gz
Remove a duplicative storage declaration.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers.c b/drivers.c
index abf3953b..911134d7 100644
--- a/drivers.c
+++ b/drivers.c
@@ -1061,7 +1061,7 @@ static gps_mask_t aivdm_analyze(struct gps_device_t *session)
{
if (session->packet.type == AIVDM_PACKET){
session->cycle_state = CYCLE_END_RELIABLE;
- if (aivdm_decode((char *)session->packet.outbuffer, session->packet.outbuflen, &session->aivdm)) {
+ if (aivdm_decode((char *)session->packet.outbuffer, session->packet.outbuflen, &session->aivdm, &session->gpsdata.ais)) {
session->cycle_state = CYCLE_END;
return ONLINE_SET | AIS_SET;
}else