diff options
-rw-r--r-- | navit/track.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/track.c b/navit/track.c index 840c259f1..146972f46 100644 --- a/navit/track.c +++ b/navit/track.c @@ -671,11 +671,11 @@ tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofile *v } if (!vehicle_get_attr(tr->vehicle, attr_position_speed, &speed_attr, NULL) || !vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL) || - !vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL) || + !vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL)) { dbg(lvl_error,"failed to get position data %d %d %d", vehicle_get_attr(tr->vehicle, attr_position_speed, &speed_attr, NULL), vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL), - vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL), + vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL)); return; } if (tr->tunnel_extrapolation) { |