diff options
author | mvglasow <michael -at- vonglasow.com> | 2019-01-07 21:55:59 +0100 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2019-01-07 21:55:59 +0100 |
commit | e8fc06aaac552f57c2be9888d632ef7219d471bb (patch) | |
tree | 1a3f9d9f59429b34785bacd589ff58fdba7ccac6 | |
parent | 69cd5e85c0804c26704a6e06e6ea97e89774871f (diff) | |
download | navit-e8fc06aaac552f57c2be9888d632ef7219d471bb.tar.gz |
Refactor:traffic:Include names in debug output for end point matching
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r-- | navit/traffic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/traffic.c b/navit/traffic.c index 77417e4a7..ac44e6828 100644 --- a/navit/traffic.c +++ b/navit/traffic.c @@ -1516,8 +1516,9 @@ static int traffic_point_match_segment_attributes(struct traffic_point * this_, map_rect_destroy(mr); } - dbg(lvl_debug, "p=%p: has_offroute_match=%d, has_start_match=%d, has_end_match=%d, route_follows_road=%d, route_leaves_road=%d", - p, has_offroute_match, has_start_match, has_end_match, route_follows_road, route_leaves_road); + dbg(lvl_debug, "p=%p: %s %s → %s %s\nhas_offroute_match=%d, has_start_match=%d, has_end_match=%d, route_follows_road=%d, route_leaves_road=%d", + p, end_ref, end_name, start_ref, start_name, + has_offroute_match, has_start_match, has_end_match, route_follows_road, route_leaves_road); g_free(start_name); g_free(start_ref); |