summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-05-28 15:54:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2019-05-28 15:54:22 +0200
commitc2634a7ccf815bedc26671b803dc571f0544fc73 (patch)
treea1624fe6c0da3ffbdbbbd3d37f4dfd4b1b645e79 /ci.c
parente8ae4afd0961cc93cbca3830fe065f6da9d806c9 (diff)
downloadvdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.gz
vdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.bz2
Fixed inconsistent behavior in case only certain devices are used (selected by the '-D' option)
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ci.c b/ci.c
index 8c4d7c6b..36864522 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 4.25 2019/05/06 11:47:42 kls Exp $
+ * $Id: ci.c 4.26 2019/05/28 15:01:29 kls Exp $
*/
#include "ci.h"
@@ -2233,14 +2233,14 @@ bool cCamSlot::Assign(cDevice *Device, bool Query)
return false;
}
-bool cCamSlot::Devices(cVector<int> &CardIndexes)
+bool cCamSlot::Devices(cVector<int> &DeviceNumbers)
{
cMutexLock MutexLock(&mutex);
if (mtdHandler)
- return mtdHandler->Devices(CardIndexes);
+ return mtdHandler->Devices(DeviceNumbers);
if (assignedDevice)
- CardIndexes.Append(assignedDevice->CardIndex());
- return CardIndexes.Size() > 0;
+ DeviceNumbers.Append(assignedDevice->DeviceNumber());
+ return DeviceNumbers.Size() > 0;
}
void cCamSlot::NewConnection(void)