Skip to content
Snippets Groups Projects
Commit ce0813f8 authored by Stuart Mcalpine's avatar Stuart Mcalpine
Browse files

Was not counting the stf_output_count correctly, fixed.

parent 3d5e7670
No related branches found
No related tags found
1 merge request!874Stf output times
...@@ -518,12 +518,7 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) { ...@@ -518,12 +518,7 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) {
char outputFileName[PARSER_MAX_LINE_SIZE + 128]; char outputFileName[PARSER_MAX_LINE_SIZE + 128];
/* What is the snapshot number? */ /* What is the snapshot number? */
int snapnum; int snapnum = e->stf_output_count;
if (linked_with_snap) {
snapnum = e->snapshot_output_count;
} else {
snapnum = e->stf_output_count;
}
/* What should the filename be? */ /* What should the filename be? */
snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor", snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment