diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-27 00:39:13 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-27 00:39:13 -0400 |
commit | a7e046cfb28c9cce9ba7e72e732958b58f60e1e2 (patch) | |
tree | e4c93d44392f773c3d9138d0bf03bcbb0913c0c3 /gpxlogger.c | |
parent | 39f6aff4501ca4c06932b526d1837a93bf9796fc (diff) | |
download | gpsd-a7e046cfb28c9cce9ba7e72e732958b58f60e1e2.tar.gz |
Improve normal termination in gpxlogger.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index 79cae544..04c76ba2 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -231,6 +231,7 @@ static int socket_mainloop(void) conditionally_log_fix(&gpsdata); } } + print_gpx_footer(); (void)gps_close(&gpsdata); return 0; } @@ -264,6 +265,7 @@ static int shm_mainloop(void) if (status > 0) conditionally_log_fix(&gpsdata); } + print_gpx_footer(); (void)gps_close(&gpsdata); return 0; } |