diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 20:34:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 20:34:58 +0000 |
commit | d2775f32036ac6b4831cbe963d451a22ceb8f8d5 (patch) | |
tree | edcd680cef9b1c4699bd6a97b701fa237be38296 /cgps.c | |
parent | 214c5c82f340a0530f80fff6b368bf43ed3e8d35 (diff) | |
download | gpsd-d2775f32036ac6b4831cbe963d451a22ceb8f8d5.tar.gz |
Fix some overealousnes code removal last night.
status_timer has to be initialized.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -773,6 +773,8 @@ int main(int argc, char *argv[]) gps_set_raw_hook(gpsdata, update_gps_panel); } + status_timer = time(NULL); + (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_RAW|WATCH_NEWSTYLE, NULL); /* heart of the client */ |