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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-10-22 23:47:00 +02:00
committed by Thilo Graf
parent 5d093c98db
commit c169e96a25

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>";
}