aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-05-30 00:54:17 +0200
committerLuca Deri <deri@ntop.org>2022-05-30 00:54:17 +0200
commit1da9f1a36fc2f60d8a2f13fca88a7675d327e3ad (patch)
treea31d58df13a16aa3f651a61186a32e7f5fa1f1e7 /example/reader_util.c
parentf25deeccb1ccbebd6346271828762fdd8326c32b (diff)
Updated tests results
Code cleanup
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
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;