summaryrefslogtreecommitdiff
path: root/receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/receiver.c b/receiver.c
index 6ddbaa64..8f94c1a1 100644
--- a/receiver.c
+++ b/receiver.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: receiver.c 1.1 2002/06/10 16:30:00 kls Exp $
+ * $Id: receiver.c 1.2 2002/07/28 10:48:42 kls Exp $
*/
#include <stdarg.h>
@@ -16,6 +16,8 @@ cReceiver::cReceiver(int Ca, int Priority, int NumPids, ...)
device = NULL;
ca = Ca;
priority = Priority;
+ for (int i = 0; i < MAXRECEIVEPIDS; i++)
+ pids[i] = 0;
if (NumPids) {
va_list ap;
va_start(ap, NumPids);