c214f56 conf: Resolve Coverity NEGATIVE_RETURNS

Authored and Committed by John Ferlan 8 years ago
    conf: Resolve Coverity NEGATIVE_RETURNS
    
    Commit id '73eda710' added virDomainKeyWrapDefParseXML which uses
    virXPathNodeSet, but does not handle a -1 return thus causing a possible
    loop condition exit problem later when the return value is used.
    
    Change the logic to return the value from virXPathNodeSet if <= 0
    
        
file modified
+2 -2