1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed error handling in cCiTransportConnection::RecvTPDU()

This commit is contained in:
Klaus Schmidinger 2005-09-17 12:08:54 +02:00
parent be0151ca5c
commit 13249f12f2
3 changed files with 6 additions and 3 deletions

View File

@ -1434,6 +1434,7 @@ Georg Acher <acher@baycom.de>
'& 0xff' in CRC32::crc32() of libsi/util.c '& 0xff' in CRC32::crc32() of libsi/util.c
for suggesting to reduce the priority of the section handler threads for suggesting to reduce the priority of the section handler threads
for a patch that was used to implement a hash for the channels for a patch that was used to implement a hash for the channels
for reporting a problem with error handling in cCiTransportConnection::RecvTPDU()
Henrik Niehaus <henrik.niehaus@gmx.de> Henrik Niehaus <henrik.niehaus@gmx.de>
for reporting a problem with timers with a day given as MTWTF--@6, i.e. a repeating for reporting a problem with timers with a day given as MTWTF--@6, i.e. a repeating

View File

@ -3819,3 +3819,5 @@ Video Disk Recorder Revision History
for reporting this one). for reporting this one).
- Fixed handling key macros with keys after @plugin (thanks to Rolf Ahrenberg for - Fixed handling key macros with keys after @plugin (thanks to Rolf Ahrenberg for
reporting this one). reporting this one).
- Fixed error handling in cCiTransportConnection::RecvTPDU() (thanks to Georg Acher
for reporting this one).

6
ci.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: ci.c 1.27 2005/08/21 14:10:27 kls Exp $ * $Id: ci.c 1.28 2005/09/17 11:43:08 kls Exp $
*/ */
#include "ci.h" #include "ci.h"
@ -358,8 +358,8 @@ int cCiTransportConnection::RecvTPDU(void)
break; break;
} }
} }
else { else if (FATALERRNO) {
esyslog("ERROR: CAM: Read failed: slot %d, tcid %d\n", slot, tcid); esyslog("ERROR: CAM: Read failed: slot %d, tcid %d - %m\n", slot, tcid);
Init(-1, slot, tcid); Init(-1, slot, tcid);
} }
return lastResponse; return lastResponse;