From 0ddc3a0052cfd3ad539ae0540aa4879bcae80ee5 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 14 Jun 2020 09:37:56 +0200 Subject: Fixed invalid assignment (typo) --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index e7b6c293b..59780d288 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -6505,7 +6505,7 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str, if(isdigit(name[i])) continue; else - tmp[j++] = tolower(tmp[i]); + tmp[j++] = tolower(name[i]); } len = j; -- cgit v1.2.3