aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2020-07-01 20:16:16 +0200
committerNardi Ivan <nardi.ivan@gmail.com>2020-07-01 20:16:16 +0200
commitc08693fda59d9d3d6e9e55afeaf3cf739fe192a5 (patch)
tree814e9a98ab820a771e19a8dbc23212f717370bde /example/reader_util.h
parent0cd090540020f58d6386a4745500157574788ebe (diff)
Incorporated some feedback
Diffstat (limited to 'example/reader_util.h')
-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) \