diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-12-10 13:49:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-12-10 13:49:04 +0100 |
commit | 97d47b6a918fbd715ae81cb39051f3ad219772c4 (patch) | |
tree | fbbb010bc2ea464ce620de6912df2fcc88ce1b4c /dvbdevice.c | |
parent | 96647c3c3ddb0161bc9fe67007897daadeb4a26f (diff) | |
download | vdr-97d47b6a918fbd715ae81cb39051f3ad219772c4.tar.gz vdr-97d47b6a918fbd715ae81cb39051f3ad219772c4.tar.bz2 |
Fixed bonding more than two devices
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 163fce36..351609f8 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 2.48 2011/12/03 15:24:27 kls Exp $ + * $Id: dvbdevice.c 2.49 2011/12/06 17:38:18 kls Exp $ */ #include "dvbdevice.h" @@ -1126,7 +1126,7 @@ bool cDvbDevice::BondDevices(const char *Bondings) if (cDevice *Device2 = cDevice::GetDevice(d)) { if (cDvbDevice *DvbDevice1 = dynamic_cast<cDvbDevice *>(Device1)) { if (cDvbDevice *DvbDevice2 = dynamic_cast<cDvbDevice *>(Device2)) { - if (!DvbDevice2->Bond(DvbDevice1)) + if (!DvbDevice1->Bond(DvbDevice2)) return false; // Bond() has already logged the error } else |