- eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...

fix another compiler warning: the use of `tmpnam' is dangerous

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-09-01 14:34:25 +02:00
committed by Thilo Graf
parent b00f1e53df
commit 3606c717d4
7 changed files with 19 additions and 18 deletions

View File

@@ -67,7 +67,7 @@ struct sectionsd
setConfig, // commandSetConfig
readSIfromIPTVXML, // commandReadSIfromIPTVXML
readSIfromXMLTV, // commandReadSIfromXMLTV
numberOfCommands // <- no actual command, end of command marker
};

View File

@@ -194,9 +194,9 @@ void CSectionsdClient::readSIfromXML(const char * epgxmlname)
close_connection();
}
void CSectionsdClient::readSIfromIPTVXML(const char * url)
void CSectionsdClient::readSIfromXMLTV(const char * url)
{
send(sectionsd::readSIfromIPTVXML, (char*) url, strlen(url));
send(sectionsd::readSIfromXMLTV, (char*) url, strlen(url));
readResponse();
close_connection();

View File

@@ -200,7 +200,7 @@ class CSectionsdClient : private CBasicClient
void readSIfromXML(const char * epgxmlname);
void readSIfromIPTVXML(const char * url);
void readSIfromXMLTV(const char * url);
void writeSI2XML(const char * epgxmlname);