if (it != NULL)
{
void *vptr;
- GetNextHashPos(Ctx->OtherQRnumbers, it, &len, &Key, &vptr);
- pCfg = vptr;
+ if (GetNextHashPos(Ctx->OtherQRnumbers, it, &len, &Key, &vptr))
+ pCfg = vptr;
+ else
+ pCfg = NULL;
}
else
pCfg = NULL;
eNextState RSSAggregator_FinishHttp(AsyncIO *IO)
{
- return QueueDBOperation(IO, RSSAggregator_AnalyseReply);
+ StopCurlWatchers(IO);
+ return CurlQueueDBOperation(IO, RSSAggregator_AnalyseReply);
}
/*
void DeleteRSSClientCfgLine(const CfgLineType *ThisOne, RoomNetCfgLine **data)
{
- RSSCfgLine *RSSCfg = (RSSCfgLine*) data;
+ RSSCfgLine *RSSCfg = (RSSCfgLine*) *data;
FreeStrBuf(&RSSCfg->Url);
free(*data);