From ae4c4e5e8ccb8042b4fd97cbc70d91880ae4b7ab Mon Sep 17 00:00:00 2001 From: Holger Steinhaus Date: Thu, 12 Nov 2015 11:17:32 +0100 Subject: disabled debug logging, ensured that all debug logging only active if one of the DEBUG_* is defined --- device.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'device.c') 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 (); -- cgit v1.2.3