2022-10-30 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdcatch(1) that caused status indication
	to break for record events.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-30 16:36:25 -04:00
parent de49ba6cd9
commit 6bc518b515
3 changed files with 26 additions and 5 deletions

View File

@@ -470,8 +470,17 @@ void MainObject::catchEventReceivedData(RDCatchEvent *evt)
rda->syslog(LOG_NOTICE,"catchEventReceivedData(): %s",
evt->dump().toUtf8().constData());
if(evt->operation()==RDCatchEvent::DeckStatusQueryOp) {
switch(evt->operation()) {
case RDCatchEvent::DeckStatusQueryOp:
SendFullEventResponse(rda->station()->address());
break;
case RDCatchEvent::DeckEventProcessedOp:
case RDCatchEvent::DeckStatusResponseOp:
case RDCatchEvent::PurgeEventOp:
case RDCatchEvent::NullOp:
case RDCatchEvent::LastOp:
break;
}
/*
chan=cmds.at(1).toInt(&ok);