Invalid initialization
This commit is contained in:
@@ -66,7 +66,7 @@ int ndpi_load_domain_suffixes(struct ndpi_detection_module_struct *ndpi_str,
|
|||||||
line[len--] = '\0';
|
line[len--] = '\0';
|
||||||
|
|
||||||
if(!ndpi_domain_classify_add(ndpi_str->public_domain_suffixes,
|
if(!ndpi_domain_classify_add(ndpi_str->public_domain_suffixes,
|
||||||
num_domains /* dummy */, &line[offset])) {
|
1 /* dummy */, &line[offset])) {
|
||||||
NDPI_LOG_ERR(ndpi_str, "Error while processing domain %s\n", &line[offset]);
|
NDPI_LOG_ERR(ndpi_str, "Error while processing domain %s\n", &line[offset]);
|
||||||
} else
|
} else
|
||||||
num_domains++;
|
num_domains++;
|
||||||
|
|||||||
Reference in New Issue
Block a user