From daf4d8632306f5eedc0b50cabe6dd2bae8f02e06 Mon Sep 17 00:00:00 2001 From: martin-s Date: Wed, 20 Jul 2011 20:18:44 +0000 Subject: [PATCH] Fix:maptool:Correct output for is_in warning git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4651 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/maptool/osm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/navit/navit/maptool/osm.c b/navit/navit/maptool/osm.c index 0c6aa4c..cde2a1a 100644 --- a/navit/navit/maptool/osm.c +++ b/navit/navit/maptool/osm.c @@ -1751,7 +1751,8 @@ osm_process_town_by_is_in(struct item_bin *ib,char *is_in) lookup=g_hash_table_lookup(country_table_hash,tok); if (lookup) { if (result && result->countryid != lookup->countryid) { - osm_warning("node",item_bin_get_nodeid(ib),0,"conflict for %s %s country %d vs %d\n", attr_strings[attr_string_label], debug_attr_buffer, lookup->countryid, result->countryid); + char *label=item_bin_get_attr(ib, attr_town_name, NULL); + osm_warning("node",item_bin_get_nodeid(ib),0,"conflict for %s is_in=%s country %d vs %d\n", label, is_in, lookup->countryid, result->countryid); conflict=1; } result=lookup; -- 2.7.4