aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/reader_util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index facce0114..8e99bdbbb 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -336,8 +336,7 @@ float ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned
extern int nDPI_LogLevel;
-/* TODO: conditional compilation? */
-#if 1
+#ifdef NDPI_ENABLE_DEBUG_MESSAGES
#define LOG(log_level, args...) \
{ \
if(log_level <= nDPI_LogLevel) \