summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorHolger Steinhaus <hsteinhaus@gmx.de>2015-11-12 11:17:32 +0100
committerHolger Steinhaus <hsteinhaus@gmx.de>2015-11-12 11:17:32 +0100
commit1fec589c232ce1125feca15bcb8ebaaa04f67641 (patch)
treeb01e8793abad1ea2a8ee93433a14308675764ebe /device.c
parent61a69b2a133fa09f944753f5470ca0e49461b1ee (diff)
downloadvdr-plugin-mcli-1fec589c232ce1125feca15bcb8ebaaa04f67641.tar.gz
vdr-plugin-mcli-1fec589c232ce1125feca15bcb8ebaaa04f67641.tar.bz2
Disabled debug logging, ensured that all debug logging only active if one of the DEBUG_* is defined
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.c b/device.c
index e47014c..1b1156e 100644
--- a/device.c
+++ b/device.c
@@ -87,7 +87,9 @@ cMcliDevice::cMcliDevice (void)
m_camref = NULL;
InitMcli ();
+#ifdef DEBUG_RESOURCES
dsyslog ("Mcli::%s: DVB got device number %d\n", __FUNCTION__, CardIndex () + 1);
+#endif
}
@@ -95,7 +97,9 @@ cMcliDevice::~cMcliDevice ()
{
LOCK_THREAD;
StopSectionHandler ();
+#ifdef DEBUG_RESOURCES
dsyslog ("Mcli::%s: DVB %d gets destructed\n", __FUNCTION__, CardIndex () + 1);
+#endif
Cancel (0);
m_locked.Broadcast ();
ExitMcli ();