summaryrefslogtreecommitdiff
path: root/mtd.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 /mtd.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 'mtd.c')
-rw-r--r--mtd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mtd.c b/mtd.c
index ae07548d..463c1d3e 100644
--- a/mtd.c
+++ b/mtd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: mtd.c 1.13 2019/05/05 13:56:46 kls Exp $
+ * $Id: mtd.c 1.14 2019/05/28 14:59:47 kls Exp $
*/
#include "mtd.h"
@@ -127,11 +127,11 @@ bool cMtdHandler::IsActivating(void)
return false;
}
-bool cMtdHandler::Devices(cVector<int> &CardIndexes)
+bool cMtdHandler::Devices(cVector<int> &DeviceNumbers)
{
for (int i = 0; i < camSlots.Size(); i++)
- camSlots[i]->Devices(CardIndexes);
- return CardIndexes.Size() > 0;
+ camSlots[i]->Devices(DeviceNumbers);
+ return DeviceNumbers.Size() > 0;
}
void cMtdHandler::UnAssignAll(void)