aboutsummaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index c8feac1c8..24911b0b6 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -891,7 +891,9 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu
return;
if (MATCH("cylpress.sample", pressure, &sample->cylinderpressure))
return;
- if (MATCH("pdiluent.sample", pressure, &sample->diluentpressure))
+ if (MATCH("pdiluent.sample", pressure, &sample->cylinderpressure))
+ return;
+ if (MATCH("o2pressure.sample", pressure, &sample->o2cylinderpressure))
return;
if (MATCH("cylinderindex.sample", get_cylinderindex, &sample->sensor))
return;