diff options
author | Luca <deri@ntop.org> | 2024-01-15 19:12:31 +0100 |
---|---|---|
committer | Luca <deri@ntop.org> | 2024-01-15 19:12:31 +0100 |
commit | a1634604e1668e86981bf85101982d43a4880334 (patch) | |
tree | fe1b964bf2dedf13d05aa5bd530ebb78c13da760 /src | |
parent | 162c38f18f81a4e069db5f957c13f68c2cdc9b89 (diff) |
Removes extraneous parentheses that caused macOS to complain
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_domain_classify.c | 8 |
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 */ |