diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-26 03:31:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-26 03:31:10 +0000 |
commit | cfa56298e82f1a68f3f1e752fc26724cedd96b6a (patch) | |
tree | 811879f99f6075eb74e5b93de6ac9235d5ea2294 /drivers.c | |
parent | 358bb84f5e6e0c4b31a3085c4690cd7c3e633d2c (diff) | |
download | gpsd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |