summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/traffic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/traffic.c b/navit/traffic.c
index be80e764b..e3fce8752 100644
--- a/navit/traffic.c
+++ b/navit/traffic.c
@@ -3412,8 +3412,7 @@ static int traffic_message_restore_segments(struct traffic_message * this_, stru
else
flags = strtol(value, &tail, 0);
if (*tail) {
- dbg(lvl_error, "Incorrect value '%s' for attribute '%s'; expected a number. \n", value, name);
- // ret->u.num=0; // TODO check if flags are parseable as currently written
+ dbg(lvl_warning, "Incorrect value '%s' for attribute '%s': expected a number, assuming 0x%x. \n", value, name, flags);
}
} else {
/* generic attribute */