summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-26 03:31:10 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-26 03:31:10 +0000
commitcfa56298e82f1a68f3f1e752fc26724cedd96b6a (patch)
tree811879f99f6075eb74e5b93de6ac9235d5ea2294 /drivers.c
parent358bb84f5e6e0c4b31a3085c4690cd7c3e633d2c (diff)
downloadgpsd-cfa56298e82f1a68f3f1e752fc26724cedd96b6a.tar.gz
Change API so raw_hook takes a length argument; supports dumping binary packets.
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 59434904..93f73bad 100644
--- a/drivers.c
+++ b/drivers.c
@@ -48,7 +48,7 @@ static int nmea_parse_input(struct gps_device_t *session)
#endif /* NTPSHM_ENABLE */
/* also copy the sentence up to clients in raw mode */
- gpsd_raw_hook(session, session->outbuffer, 1);
+ gpsd_raw_hook(session,session->outbuffer,strlen(session->outbuffer), 1);
return st;
} else
return 0;