if (cp->currParser)
{
cp->currParser->SetAnswerList(&cp->answerList);
- cp->currParser->SetCurrAdmin(cp->currAdmin);
+ cp->currParser->SetCurrAdmin(*cp->currAdmin);
cp->currParser->ParseStart(data, el, attr);
}
else
for (unsigned int i = 0; i < cp->dataParser.size(); i++)
{
cp->dataParser[i]->SetAnswerList(&cp->answerList);
- cp->dataParser[i]->SetCurrAdmin(cp->currAdmin);
+ cp->dataParser[i]->SetCurrAdmin(*cp->currAdmin);
cp->dataParser[i]->Reset();
if (cp->dataParser[i]->ParseStart(data, el, attr) == 0)
{
str[8] = 0;
len = strlen(str);
- n++;
+ ++n;
if (n == requestList.end())
done = 1;
- n--;
+ --n;
if (XML_Parse(xmlParser, (*n).c_str(), len, done) == XML_STATUS_ERROR)
{
if (done)
return 0;
- n++;
+ ++n;
}
return 0;
}
}
//-----------------------------------------------------------------------------
-void CONFIGPROTO::SetStore(BASE_STORE * s)
+void CONFIGPROTO::SetStore(STORE * s)
{
for (unsigned int i = 0; i < dataParser.size(); i++)
{