commit | 2ddecc23862bab1a9a9e51e097aefc92ec305e28 | [log] [tgz] |
---|---|---|
author | Marius Wachtler <malloc@inode.at> | Tue Oct 12 09:09:07 2010 +0200 |
committer | Daniel Veillard <veillard@redhat.com> | Tue Oct 12 09:09:07 2010 +0200 |
tree | 24bbf72b40a24299a165b179aa42df935fb5c38f | |
parent | d2190faf788bd2f4cfd3356982eb576eaef72aec [diff] [blame] |
Fix a small bug in XPath evaluation code
diff --git a/xpath.c b/xpath.c index 8482c40..b24ca69 100644 --- a/xpath.c +++ b/xpath.c
@@ -12655,7 +12655,7 @@ return (total); #ifdef XP_OPTIMIZED_FILTER_FIRST case XPATH_OP_FILTER: - total =+ xmlXPathCompOpEvalFilterFirst(ctxt, op, first); + total += xmlXPathCompOpEvalFilterFirst(ctxt, op, first); return (total); #endif default: