mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 23:30:20 +01:00
2017-10-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.SHORT_NAME' field to the database. * Incremented the database version to 270. * Added 'RDStation::shortName()' and 'RDStation::setShortName()' methods. * Removed the 'Broadcast Security Model' control from the 'Edit Host' dialog. * Added a 'Short Name' control to the 'Edit Host' dialog. * Implemented a '%R' wildcard for Rivendell Host Short Name.
This commit is contained in:
@@ -52,7 +52,7 @@ void Xport::AddLog()
|
||||
if(!xport_post->getValue("SERVICE_NAME",&service_name)) {
|
||||
XmlExit("Missing SERVICE_NAME",400,"logs.cpp",LINE_NUMBER);
|
||||
}
|
||||
RDSvc *svc=new RDSvc(service_name,xport_config);
|
||||
RDSvc *svc=new RDSvc(service_name,xport_station,xport_config);
|
||||
if(!svc->exists()) {
|
||||
XmlExit("No such service",404,"logs.cpp",LINE_NUMBER);
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ void Xport::ListServices()
|
||||
printf("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
|
||||
printf("<serviceList>\n");
|
||||
while(q->next()) {
|
||||
svc=new RDSvc(q->value(0).toString(),xport_config);
|
||||
svc=new RDSvc(q->value(0).toString(),xport_station,xport_config);
|
||||
printf("%s",(const char *)svc->xml());
|
||||
delete svc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user