summaryrefslogtreecommitdiff
path: root/clockwatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'clockwatcher.c')
-rw-r--r--clockwatcher.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/clockwatcher.c b/clockwatcher.c
index 4d06570d..a7ff2f72 100644
--- a/clockwatcher.c
+++ b/clockwatcher.c
@@ -66,8 +66,7 @@ static void quit_handler(int signum)
static int dbus_mainloop(void)
{
- gps_dbus_open(conditionally_log_fix, &gpsdata);
- return 0;
+ return gps_dbus_open(conditionally_log_fix, &gpsdata);;
}
#endif /* defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) */
@@ -104,7 +103,6 @@ static int socket_mainloop(void)
conditionally_log_fix(&gpsdata);
}
}
- print_gpx_footer();
(void)gps_close(&gpsdata);
return 0;
}
@@ -137,7 +135,6 @@ static int shm_mainloop(void)
if (status > 0)
conditionally_log_fix(&gpsdata);
}
- print_gpx_footer();
(void)gps_close(&gpsdata);
return 0;
}