From a7f6cf49cd16dd875906e400e28f595198c4e7bb Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 7 Jun 2019 18:14:21 -0400 Subject: [PATCH] 2019-06-07 Fred Gleason * Fixed a bug in caed(8) that caused the 'Unload Playback' ['UP'] command to be ignored when the 'handle' argument was greater than 23. --- ChangeLog | 4 ++++ cae/cae_server.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f650a81a..62425547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 + * Fixed a bug in caed(8) that caused the 'Unload Playback' ['UP'] + command to be ignored when the 'handle' argument was greater + than 23. diff --git a/cae/cae_server.cpp b/cae/cae_server.cpp index dc1b5989..8e31e2e2 100644 --- a/cae/cae_server.cpp +++ b/cae/cae_server.cpp @@ -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