aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-05-21 12:47:25 +0200
committerGitHub <noreply@github.com>2024-05-21 12:47:25 +0200
commit0109014f2c640106bd970dc7559fb0f15cc51271 (patch)
tree580a05a9bc6866d2d3aa23681d94e30554169c81 /example/ndpiReader.c
parentbc8bc69beb7c6ee26c97e9a57aff4124f064d9ac (diff)
Follow-up of 2093ac5bf (#2451)
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index bde3890b4..d07fdd0b0 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -6006,7 +6006,12 @@ void domainSearchUnitTest2() {
@brief MAIN FUNCTION
**/
int main(int argc, char **argv) {
- int i, skip_unit_tests = 1;
+ int i;
+#ifdef NDPI_EXTENDED_SANITY_CHECKS
+ int skip_unit_tests = 0;
+#else
+ int skip_unit_tests = 1;
+#endif
#ifdef DEBUG_TRACE
trace = fopen("/tmp/ndpiReader.log", "a");