Add:vehicle_gpsd:Improved debugging output
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 6 Apr 2008 19:02:25 +0000 (19:02 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 6 Apr 2008 19:02:25 +0000 (19:02 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@987 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/vehicle/gpsd/vehicle_gpsd.c

index 2ed7626..46f0992 100644 (file)
@@ -131,7 +131,7 @@ vehicle_gpsd_try_open(gpointer *data)
        priv->watch =
            g_io_add_watch(priv->iochan, G_IO_IN | G_IO_ERR | G_IO_HUP,
                           vehicle_gpsd_io, priv);
-       dbg(0,"Connected to gpsd\n");
+       dbg(0,"Connected to gpsd fd=%d iochan=%p watch=%p\n", priv->gps->gps_fd, priv->iochan, priv->watch);
        return FALSE;
 }