From 1da9f1a36fc2f60d8a2f13fca88a7675d327e3ad Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 30 May 2022 00:54:17 +0200 Subject: Updated tests results Code cleanup --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/reader_util.c b/example/reader_util.c index cb591d52e..1c1fde05a 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1047,7 +1047,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl s = ndpi_get_flow_risk_info(flow->ndpi_flow, out, sizeof(out)); if(s != NULL) - flow->risk_str = ndpi_strdup(s); + flow->risk_str = ndpi_strdup(out); flow->confidence = flow->ndpi_flow->confidence; -- cgit v1.2.3