diff options
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 74e28a094..d0c46d43e 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -73,12 +73,10 @@ static char *_statsFilePath = NULL; /**< Top stats file path */ static char *_diagnoseFilePath = NULL; /**< Top stats file path */ static char *_jsonFilePath = NULL; /**< JSON file path */ static FILE *stats_fp = NULL; /**< for Top Stats JSON file */ -static FILE *csv_fp = NULL; /**< for CSV export */ -#endif -#ifdef HAVE_JSON_C static json_object *jArray_known_flows = NULL, *jArray_unknown_flows = NULL; static json_object *jArray_topStats = NULL; #endif +static FILE *csv_fp = NULL; /**< for CSV export */ static u_int8_t live_capture = 0; static u_int8_t undetected_flows_deleted = 0; /** User preferences **/ |