minor refactoring
[public/netxms.git] / src / server / core / node.cpp
index 5b802c0..22b737f 100644 (file)
@@ -1705,7 +1705,7 @@ void Node::checkAgentPolicyBinding(AgentConnection *conn)
             int j;
                                for(j = 0; j < ap->size(); j++)
                                {
-                                       if (!ap->getGuid(j).compare(guid))
+                                       if (ap->getGuid(j).equals(guid))
                                                break;
                                }
                                if (j == ap->size())