aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-22 13:12:10 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-22 13:12:10 +0000
commit9d8d1436be9d8c9c5b79089a288b9716e4a098b9 (patch)
tree5749db87677c1fecebf0bf1ef1d183747b85720f /lib
parentab964ab19187f8862cb088a63b821ee86d3fbafc (diff)
downloadenigma2-9d8d1436be9d8c9c5b79089a288b9716e4a098b9.tar.gz
enigma2-9d8d1436be9d8c9c5b79089a288b9716e4a098b9.zip
fix scan
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb/scan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp
index 6549e32c..89c4735a 100644
--- a/lib/dvb/scan.cpp
+++ b/lib/dvb/scan.cpp
@@ -17,8 +17,8 @@
#include <errno.h>
static bool scan_debug;
-#define SCAN_eDebug(x...) if (scan_debug) eDebug(x)
-#define SCAN_eDebugNoNewLine(x...) if (scan_debug) eDebugNoNewLine(x)
+#define SCAN_eDebug(x...) do { if (scan_debug) eDebug(x); } while(0)
+#define SCAN_eDebugNoNewLine(x...) do { if (scan_debug) eDebugNoNewLine(x); } while(0)
DEFINE_REF(eDVBScan);