summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2019-08-08 21:42:50 +0200
committermvglasow <michael -at- vonglasow.com>2019-08-08 21:42:50 +0200
commitabaf43f392934d76368622db85f850123f355eb2 (patch)
tree81b3235c3c5d0bd84237e40b5a0729b50df7b534
parent6f4a055e7389d0fcd30c49d48100b385f67b2738 (diff)
downloadnavit-abaf43f392934d76368622db85f850123f355eb2.tar.gz
Add:traffic:More debug output
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r--navit/traffic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/traffic.c b/navit/traffic.c
index e3fce8752..7e9873107 100644
--- a/navit/traffic.c
+++ b/navit/traffic.c
@@ -3381,7 +3381,7 @@ static int traffic_message_restore_segments(struct traffic_message * this_, stru
struct seg_data * seg_data;
- dbg(lvl_debug, "*****checkpoint RESTORE-1");
+ dbg(lvl_debug, "*****checkpoint RESTORE-1, data:\n%s", data);
traffic_location_set_enclosing_rect(this_->location, NULL);
while (1) {
@@ -3390,6 +3390,7 @@ static int traffic_message_restore_segments(struct traffic_message * this_, stru
len = data_next ? (data_next - data_curr) : strlen(data_curr);
line = g_new0(char, len + 1);
strncpy(line, data_curr, len);
+ dbg(lvl_debug, "*****checkpoint RESTORE-2, line: %s", line);
}
if (line && (ccnt < 0)) {
/* first line with item type and attributes */