commit | 73639a73c5a51c3739595f54c338bb531c1319c2 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Apr 10 14:31:39 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Apr 10 14:31:39 2001 +0000 |
tree | f90c1c0ae0beeb03048e07be8e2ed927eb1a6f6a | |
parent | fac26a1f9330f404a90a8f347c8d13fdf08dbba1 [diff] [blame] |
- xpath.c: Bill Brack pointer an error in detecting a null nodeset Daniel
diff --git a/xpath.c b/xpath.c index e6c5bfa..d533a59 100644 --- a/xpath.c +++ b/xpath.c
@@ -7423,7 +7423,7 @@ return(res->floatval == ctxt->context->proximityPosition); case XPATH_NODESET: case XPATH_XSLT_TREE: - if (res->nodesetval) + if (res->nodesetval == NULL) return(0); return(res->nodesetval->nodeNr != 0); case XPATH_STRING: