- just indentation alignments; no other code changes

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-02-16 20:13:34 +01:00
committed by Thilo Graf
parent 6248ed8233
commit 54cbca936c
2 changed files with 73 additions and 78 deletions

View File

@@ -542,7 +542,6 @@ t_channel_id getepgid(std::string epg_name)
CBouquetManager::ChannelIterator cit = g_bouquetManager->tvChannelsBegin();
// FIXME: Maybe there's a nicer solution
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
{
if (m == CZapitClient::MODE_RADIO)
@@ -565,8 +564,7 @@ t_channel_id getepgid(std::string epg_name)
else
continue;
}
} // for m-loop
}
return 0;
}

View File

@@ -3249,7 +3249,6 @@ void CControlAPI::xmltvepgCGI(CyhookHandler *hh)
{
g_bouquetManager->Bouquets[i]->getTvChannels(chanlist);
// FIXME: Maybe there's a nicer solution
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
{
if (m == CZapitClient::MODE_RADIO)
@@ -3298,8 +3297,7 @@ void CControlAPI::xmltvepgCGI(CyhookHandler *hh)
}
}
}
} // for m-loop
}
}
result = hh->outObject("tv generator-info-name=\"Neutrino XMLTV Generator v1.0\"", result);
@@ -3342,7 +3340,6 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
{
ZapitChannelList chanlist;
// FIXME: Maybe there's a nicer solution
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
{
if (mode == CZapitClient::MODE_RADIO || m == CZapitClient::MODE_RADIO)
@@ -3376,7 +3373,7 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
if (mode != CZapitClient::MODE_ALL)
break;
} // for m-loop
}
}
hh->SendResult(result);