mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- controlapi: minor alignments to TangoCashs repo
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3395,6 +3395,7 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
|
|||||||
|
|
||||||
// build url
|
// build url
|
||||||
std::string url = host;
|
std::string url = host;
|
||||||
|
/* strip off optional custom port */
|
||||||
if (url.rfind(":") != 4)
|
if (url.rfind(":") != 4)
|
||||||
url = url.substr(0, url.rfind(":")); // strip off optional custom port
|
url = url.substr(0, url.rfind(":")); // strip off optional custom port
|
||||||
url += ":31339/id=";
|
url += ":31339/id=";
|
||||||
@@ -3448,6 +3449,7 @@ void CControlAPI::xmltvlistCGI(CyhookHandler *hh)
|
|||||||
std::vector<std::string>::iterator it;
|
std::vector<std::string>::iterator it;
|
||||||
std::vector<std::string> url_list;
|
std::vector<std::string> url_list;
|
||||||
std::string tmp;
|
std::string tmp;
|
||||||
|
std::string::size_type i = 0;
|
||||||
|
|
||||||
if (!hh->ParamList["webtv"].empty())
|
if (!hh->ParamList["webtv"].empty())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user