From 5bc4f974c585ae59eb7bb3d07f81591e1136ca9d Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 12 Jul 2015 23:16:55 +0530 Subject: Divinglog import: deco stop ignored event added Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- parse-xml.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/parse-xml.c b/parse-xml.c index 1aaf8eac4..c110481d7 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2901,6 +2901,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu strcpy(cur_event.name, "ascent"); event_end(); } + + /* Deco stop ignored */ + if (ptr[8] - '0') { + event_start(); + cur_event.time.seconds = sinterval * i; + strcpy(cur_event.name, "violation"); + event_end(); + } ptr += 12; } -- cgit v1.2.3-70-g09d2