From a91e6179c5e19cd7769247614680a5e99f1b7cfc Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 2 Jan 2021 21:21:15 +0100 Subject: Fixed missing symbol --- src/lib/protocols/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 70750fbe0..3cfc0a394 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -825,8 +825,8 @@ static void ndpi_check_http_tcp(struct ndpi_detection_module_struct *ndpi_struct ); #endif - if(strnstr((const char *)packet->content_line.ptr, "text/", packet->content_line.len) - || strnstr((const char *)packet->content_line.ptr, "/json", packet->content_line.len) + if(ndpi_strnstr((const char *)packet->content_line.ptr, "text/", packet->content_line.len) + || ndpi_strnstr((const char *)packet->content_line.ptr, "/json", packet->content_line.len) ) { /* This is supposed to be a hunan-readeable text file */ -- cgit v1.2.3