summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-09-09 07:06:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-09-09 07:06:44 +0000
commitee7fd7f2436d4418aec6740f18927b231d8176a8 (patch)
treef1ac830512a021501f0c9dba22c22862906c67a0 /gpsd.c
parentfe45d284633b0e0a526eb647eba58f247f82e2ad (diff)
downloadgpsd-ee7fd7f2436d4418aec6740f18927b231d8176a8.tar.gz
Another step in eliminating dead storage. All regression tests pass.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index c444eea1..67940ae0 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1565,7 +1565,7 @@ int main(int argc, char *argv[])
gps_clear_fix(&sub->fixbuffer);
gps_merge_fix(&sub->fixbuffer,
changed,
- &sub->device->gpsdata.fix);
+ &sub->device->gpsdata.newdata);
gpsd_error_model(sub->device,
&sub->fixbuffer, &sub->oldfix);
}