diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-17 12:08:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-17 12:08:54 +0200 |
commit | 13249f12f2610c780605b496c68e2db44fc0e37e (patch) | |
tree | 8ff14ddc8bc04492d2242ac91f2b420d096e77a2 /ci.c | |
parent | be0151ca5c9b7079a5c9f4b94c812b63b35167d2 (diff) | |
download | vdr-13249f12f2610c780605b496c68e2db44fc0e37e.tar.gz vdr-13249f12f2610c780605b496c68e2db44fc0e37e.tar.bz2 |
Fixed error handling in cCiTransportConnection::RecvTPDU()
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -358,8 +358,8 @@ int cCiTransportConnection::RecvTPDU(void) break; } } - else { - esyslog("ERROR: CAM: Read failed: slot %d, tcid %d\n", slot, tcid); + else if (FATALERRNO) { + esyslog("ERROR: CAM: Read failed: slot %d, tcid %d - %m\n", slot, tcid); Init(-1, slot, tcid); } return lastResponse; |