summaryrefslogtreecommitdiff
path: root/transfer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-07 14:41:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-07 14:41:45 +0100
commit9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8 (patch)
tree671fff5d1d2d8fa1d42a60e7b8db83eb3be8cac6 /transfer.c
parent2dc3a3d399f7315df034c13fc63dc097683f1f97 (diff)
downloadvdr-9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8.tar.gz
vdr-9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8.tar.bz2
Avoiding too many consecutive "ring buffer overflow" messages
Diffstat (limited to 'transfer.c')
-rw-r--r--transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transfer.c b/transfer.c
index 1209dfca..c709928e 100644
--- a/transfer.c
+++ b/transfer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.c 1.15 2003/10/18 11:36:03 kls Exp $
+ * $Id: transfer.c 1.16 2004/03/07 14:40:15 kls Exp $
*/
#include "transfer.h"
@@ -55,7 +55,7 @@ void cTransfer::Receive(uchar *Data, int Length)
int i = 0;
while (active && Length > 0) {
if (i++ > 10) {
- esyslog("ERROR: ring buffer overflow (%d bytes dropped)", Length);
+ ringBuffer->ReportOverflow(Length);
break;
}
int p = ringBuffer->Put(Data, Length);