zapit/getservices: fix currentservices.xml format for cable and terrestrial

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7a698eed50
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-22 (Mon, 22 Oct 2018)

Origin message was:
------------------
- zapit/getservices: fix currentservices.xml format for cable and terrestrial

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-10-22 23:47:00 +02:00
parent ef000910f0
commit 4fc61472dd

View File

@@ -1257,11 +1257,11 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid)
footer = "</sat>";
}
else if (CFrontend::isCable(tI->second.feparams.delsys)) {
sprintf(satstr, "\t<%s name=\"%s\"\n", "cable", spos_it->second.name.c_str());
sprintf(satstr, "\t<%s name=\"%s\">\n", "cable", spos_it->second.name.c_str());
footer = "</cable>";
}
else if (CFrontend::isTerr(tI->second.feparams.delsys)) {
sprintf(satstr, "\t<%s name=\"%s\"\n", "terrestrial", spos_it->second.name.c_str());
sprintf(satstr, "\t<%s name=\"%s\">\n", "terrestrial", spos_it->second.name.c_str());
footer = "</terrestrial>";
}