From 569258d9b7b7bfd42390b5a3ce54d2a8b8900378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Sepp=C3=A4l=C3=A4?= Date: Mon, 24 Sep 2007 16:10:19 +0000 Subject: [PATCH] Made a noisy delete -debug output little less noisy. --- device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.c b/device.c index 9db0480..4fa8c93 100644 --- a/device.c +++ b/device.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: device.c,v 1.37 2007/09/24 16:08:09 ajhseppa Exp $ + * $Id: device.c,v 1.38 2007/09/24 16:10:19 ajhseppa Exp $ */ #include "common.h" @@ -155,8 +155,8 @@ bool cIptvDevice::SetPid(cPidHandle *Handle, int Type, bool On) bool cIptvDevice::DeleteFilter(unsigned int Index) { - debug("cIptvDevice::DeleteFilter(%d) Index=%d\n", deviceIndex, Index); if ((Index < eMaxFilterCount) && secfilters[Index]) { + debug("cIptvDevice::DeleteFilter(%d) Index=%d\n", deviceIndex, Index); delete secfilters[Index]; secfilters[Index] = NULL; return true;