aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--xpath.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a5e8d7b..dd38317d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 27 14:16:28 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xpath.c: patch from Richard Jinks to fix a problem introduced
+ in the previous patch and pointed by Norm
+
Fri May 24 13:10:22 CEST 2002 Daniel Veillard <daniel@veillard.com>
* libxml.spec.in: fixing bug #81112
diff --git a/xpath.c b/xpath.c
index 1c476b20..adc33109 100644
--- a/xpath.c
+++ b/xpath.c
@@ -8100,7 +8100,7 @@ xmlXPathCompNodeTest(xmlXPathParserContextPtr ctxt, xmlXPathTestVal *test,
if (CUR != ')') {
name = xmlXPathParseLiteral(ctxt);
CHECK_ERROR 0;
- *type = NODE_TEST_PI;
+ *test = NODE_TEST_PI;
SKIP_BLANKS;
}
}