summaryrefslogtreecommitdiff
path: root/gpxlogger.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-27 10:38:02 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-27 10:38:02 -0400
commit8b79518d4627859ab8351f1fd01bbaaf0ecee8a9 (patch)
treef12d0631081284fa45dad22de16f7af76d09e86b /gpxlogger.c
parent20f16976a1a451c298fee36159daede7749760e6 (diff)
downloadgpsd-8b79518d4627859ab8351f1fd01bbaaf0ecee8a9.tar.gz
Refactoring step and minor fixes.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r--gpxlogger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index 04c76ba2..d0032150 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -192,8 +192,7 @@ static void quit_handler(int signum)
static int dbus_mainloop(void)
{
print_gpx_header();
- 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) */