{
rules = node->getValue(0);
}
-
+
if (strcasecmp(node->getName(), "DetailStatWritePeriod") == 0)
{
if (ParseDetailStatWritePeriod(node->getValue(0)) != 0)
}
}
- if (strcasecmp(node->getName(), "ScriptParams") == 0)
+ if (strcasecmp(node->getName(), "ScriptParams") == 0)
{
- int i;
- i=0;
- while (node->getValue(i)!=NULL)
+ for (int i = 0; node->getValue(i) != NULL; ++i)
{
- scriptParams.push_back(node->getValue(i));
- i++;
+ scriptParams.push_back(node->getValue(i));
}
}
node = node->getNextNode();