- 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: