2019-08-05 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdvairplayd(8) where only the first log machine
	set to 'load specified log' would do so.
This commit is contained in:
Fred Gleason
2019-08-05 18:37:10 -04:00
parent 7869c62229
commit 102623e63b
2 changed files with 10 additions and 1 deletions

View File

@@ -18898,3 +18898,6 @@
2019-08-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) where only the first log machine
set to 'load specified log' would do so.
2019-08-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdvairplayd(8) where only the first log machine
set to 'load specified log' would do so.

View File

@@ -171,11 +171,12 @@ void MainObject::ripcConnectedData(bool state)
QString sql;
RDSqlQuery *q;
RDMacro rml;
/*
rml.setRole(RDMacro::Cmd);
addr.setAddress("127.0.0.1");
rml.setAddress(addr);
rml.setEchoRequested(false);
*/
//
// Get Onair Flag State
//
@@ -232,6 +233,11 @@ void MainObject::ripcConnectedData(bool state)
"NAME=\""+RDEscapeString(air_start_lognames[i])+"\"";
q=new RDSqlQuery(sql);
if(q->first()) {
rml.clear();
rml.setRole(RDMacro::Cmd);
addr.setAddress("127.0.0.1");
rml.setAddress(addr);
rml.setEchoRequested(false);
rml.setCommand(RDMacro::LL); // Load Log
rml.addArg(mach+1);
rml.addArg(air_start_lognames[i]);