2019-06-07 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in caed(8) that caused the 'Unload Playback' ['UP']
	command to be ignored when the 'handle' argument was greater
	than 23.
This commit is contained in:
Fred Gleason
2019-06-07 18:14:21 -04:00
parent cb74a4bca5
commit a7f6cf49cd
2 changed files with 5 additions and 1 deletions

View File

@@ -18749,3 +18749,7 @@
* Fixed a bug in rdairplay(1) that caused changes in the ordering
of log events to fail to be properly reflected in the Full Log
list.
2019-06-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that caused the 'Unload Playback' ['UP']
command to be ignored when the 'handle' argument was greater
than 23.

View File

@@ -228,7 +228,7 @@ void CaeServer::ProcessCommand(int id,const QString &cmd)
}
if((f0.at(0)=="UP")&&(f0.size()==2)) { // Unload Playback
unsigned card=f0.at(1).toUInt(&ok);
if(ok&&(card<RD_MAX_CARDS)) {
if(ok) {
emit unloadPlaybackReq(id,card);
was_processed=true;
}