mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...
fix another compiler warning: the use of `tmpnam' is dangerous
Origin commit data
------------------
Branch: ni/coolstream
Commit: 04c41bfb83
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-01 (Sat, 01 Sep 2018)
Origin message was:
------------------
- eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...
fix another compiler warning: the use of `tmpnam' is dangerous
------------------
This commit was generated by Migit
This commit is contained in:
@@ -67,7 +67,7 @@ struct sectionsd
|
||||
|
||||
setConfig, // commandSetConfig
|
||||
|
||||
readSIfromIPTVXML, // commandReadSIfromIPTVXML
|
||||
readSIfromXMLTV, // commandReadSIfromXMLTV
|
||||
|
||||
numberOfCommands // <- no actual command, end of command marker
|
||||
};
|
||||
|
@@ -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();
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user