summaryrefslogtreecommitdiff
path: root/gpxlogger.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
commit6dd560b389a7ed2dbbfcb6485342745ceedbbe91 (patch)
tree642527bb30bf0507434f018fcc0f0c8a1654a53b /gpxlogger.c
parent9cdbb998794f19a64b5597002cbf8ade0938357a (diff)
downloadgpsd-6dd560b389a7ed2dbbfcb6485342745ceedbbe91.tar.gz
Disentangle the packet raw hook used on the client side...
...from the internals of gpsd. Besides being better factoring, this will give us better control of the daemon's report-generation policy in the future. All regression tests pass. Codebase splints clean.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r--gpxlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index a985a2d1..caaa39b0 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -266,7 +266,7 @@ static int dbus_mainloop(void)
struct fixsource_t source;
static void process(struct gps_data_t *gpsdata,
- char *buf UNUSED, size_t len UNUSED, int level UNUSED)
+ char *buf UNUSED, size_t len UNUSED)
{
/* this is where we implement source-device filtering */
if (gpsdata->dev.path[0] && source.device!=NULL && strcmp(source.device, gpsdata->dev.path) != 0)