From 7fde1db6a4b00696c433de8498e88e3928d6d757 Mon Sep 17 00:00:00 2001 From: lns Date: Sun, 24 Sep 2023 22:50:22 +0200 Subject: Added printf/fprintf replacement for some internal modules. * logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns --- src/lib/protocols/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 271409057..2828202dd 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -62,7 +62,7 @@ static void ndpi_set_binary_application_transfer(struct ndpi_detection_module_st /* Check known exceptions */ - if(ndpi_ends_with((char*)flow->host_server_name, ".windowsupdate.com")) + if(ndpi_ends_with(ndpi_struct, (char*)flow->host_server_name, ".windowsupdate.com")) ; else ndpi_set_risk(ndpi_struct, flow, NDPI_BINARY_APPLICATION_TRANSFER, msg); -- cgit v1.2.3