summaryrefslogtreecommitdiff
path: root/libgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-23 16:11:47 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-23 16:11:47 +0000
commit6f93ec771a461673a2f1a6107e108b07acb7667e (patch)
tree9840a8410d018dbf55ae5b96a19542a2c7b0326a /libgps.c
parentec0a3dea2390abd8ee6315b7a542420f5ccfdd6f (diff)
downloadgpsd-6f93ec771a461673a2f1a6107e108b07acb7667e.tar.gz
Watcher mode now uses 'o' command to dump status.
Diffstat (limited to 'libgps.c')
-rw-r--r--libgps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgps.c b/libgps.c
index 68d86dfb..65b5d4fb 100644
--- a/libgps.c
+++ b/libgps.c
@@ -251,8 +251,8 @@ int gps_poll(struct gps_data_t *gpsdata)
return 0;
}
buf[n] = '\0';
- if (gpsdata->profiling)
- received = timestamp();
+
+ received = gpsdata->online = timestamp();
gps_unpack(buf, gpsdata);
if (gpsdata->profiling)
{