diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-30 21:55:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-30 21:55:51 -0700 |
commit | 9d8bdee350b4193a555be0f3f7fb94a9670a4a7e (patch) | |
tree | cd582ef0af7cc0edccfcbc9695aeacac0ade6200 | |
parent | c487ea055d5512c7f6cc1e72e527a1ad912cbcd1 (diff) | |
download | subsurface-9d8bdee350b4193a555be0f3f7fb94a9670a4a7e.tar.gz |
We forgot to pick up the 'value' field of a dive event
Just missed that one entirely in the xml parser for some reason.
Probably because the fields don't have much semantic meaning, so I
didn't even realize that I had missed one of the random integer values
in an event.
On my suunto, the 'value' field seems to contain things like the new
Oxygen percentage of a gas change event etc.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index 6eafb0d3a..efae6b61f 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -587,6 +587,8 @@ static void try_to_fill_event(const char *name, char *buf) return; if (MATCH(".flags", get_index, &event.flags)) return; + if (MATCH(".value", get_index, &event.value)) + return; nonmatch("event", name, buf); } |