summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2019-08-21 21:45:20 +0200
committerGitHub <noreply@github.com>2019-08-21 21:45:20 +0200
commitb2991104c538c532b905bd96beb060f989bfbc96 (patch)
treeebece05b270d9abfac984e705a2f1ca61ab0ffc0
parent54dc6b71661a9368b29b8019a956666125c3c637 (diff)
parent792425f3d4de464aa63cdb8bf3db1ad7feec1c0b (diff)
downloadnavit-b2991104c538c532b905bd96beb060f989bfbc96.tar.gz
Merge branch 'trunk' into multipolygon
-rw-r--r--navit/track.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/track.c b/navit/track.c
index a197a1ea4..37a7d70a4 100644
--- a/navit/track.c
+++ b/navit/track.c
@@ -635,7 +635,8 @@ void tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofi
}
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) ||
+ !vehicle_get_attr(tr->vehicle, attr_position_time_iso8601, &time_attr, 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),