aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
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;