aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-09-02 22:12:46 +0200
committerLuca Deri <deri@ntop.org>2019-09-02 22:12:46 +0200
commiteb154bac69d1f552802d131c1cc0a856738ef87c (patch)
tree43166cb89dc0ff1e9d1f5719241beac140a4f2b5 /example/ndpiReader.c
parentab178e62f5c8414ccf12ded7fe11dbbcc6fd04a5 (diff)
Added ndpi_alloc_data_analysis APi call
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index e77630f1e..912f2f99b 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -3403,7 +3403,7 @@ void serializerUnitTest() {
// #define RUN_DATA_ANALYSIS_THEN_QUIT 1
void analyzeUnitTest() {
- struct ndpi_analyze_struct *s = ndpi_init_data_analysis(32);
+ struct ndpi_analyze_struct *s = ndpi_alloc_data_analysis(32);
u_int32_t i;
for(i=0; i<256; i++) {