From ce0813f8864eefd62ffcdeabd667dea25130fceb Mon Sep 17 00:00:00 2001 From: Stuart Mcalpine <s.r.mcalpine@durham.ac.uk> Date: Thu, 1 Aug 2019 17:46:59 +0100 Subject: [PATCH] Was not counting the stf_output_count correctly, fixed. --- src/velociraptor_interface.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/velociraptor_interface.c b/src/velociraptor_interface.c index c4cb4c1908..ef1e888745 100644 --- a/src/velociraptor_interface.c +++ b/src/velociraptor_interface.c @@ -518,12 +518,7 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) { char outputFileName[PARSER_MAX_LINE_SIZE + 128]; /* What is the snapshot number? */ - int snapnum; - if (linked_with_snap) { - snapnum = e->snapshot_output_count; - } else { - snapnum = e->stf_output_count; - } + int snapnum = e->stf_output_count; /* What should the filename be? */ snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor", -- GitLab