aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
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++) {