aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2024-01-15 19:12:31 +0100
committerLuca <deri@ntop.org>2024-01-15 19:12:31 +0100
commita1634604e1668e86981bf85101982d43a4880334 (patch)
treefe1b964bf2dedf13d05aa5bd530ebb78c13da760 /src
parent162c38f18f81a4e069db5f957c13f68c2cdc9b89 (diff)
Removes extraneous parentheses that caused macOS to complain
Diffstat (limited to 'src')
-rw-r--r--src/lib/ndpi_domain_classify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ndpi_domain_classify.c b/src/lib/ndpi_domain_classify.c
index 382023947..edec6afcd 100644
--- a/src/lib/ndpi_domain_classify.c
+++ b/src/lib/ndpi_domain_classify.c
@@ -265,10 +265,10 @@ const char* ndpi_domain_classify_longest_prefix(ndpi_domain_classify *s,
elem = strchr(elem, '.');
- if((elem == NULL) /* || (elem == dot) */)
- break;
- else
- elem = &elem[1];
+ if(elem == NULL) break;
+ // if(elem == dot) break;
+
+ elem = &elem[1];
} /* while */
/* Not found */