Trace fix
This commit is contained in:
@@ -1036,10 +1036,6 @@ static void parseOptions(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_TRACE
|
|
||||||
if(trace) fclose(trace);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ********************************** */
|
/* ********************************** */
|
||||||
@@ -4325,6 +4321,10 @@ int original_main(int argc, char **argv) {
|
|||||||
if(csv_fp) fclose(csv_fp);
|
if(csv_fp) fclose(csv_fp);
|
||||||
ndpi_free(_debug_protocols);
|
ndpi_free(_debug_protocols);
|
||||||
|
|
||||||
|
#ifdef DEBUG_TRACE
|
||||||
|
if(trace) fclose(trace);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user