]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output/ftp: remove unused function parameters
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 11 May 2023 08:51:59 +0000 (10:51 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 5 Jun 2023 09:18:17 +0000 (11:18 +0200)
src/output-json-ftp.c

index 7177fb6a9dbc91f09653a179fcb343af4d8a8fa9..ece9344bf409368654c9d683ef1b8f16d594c944 100644 (file)
@@ -46,7 +46,7 @@
 #include "app-layer-ftp.h"
 #include "output-json-ftp.h"
 
-static void EveFTPLogCommand(Flow *f, FTPTransaction *tx, JsonBuilder *jb)
+static void EveFTPLogCommand(FTPTransaction *tx, JsonBuilder *jb)
 {
     /* Preallocate array objects to simplify failure case */
     JsonBuilder *js_resplist = NULL;
@@ -173,7 +173,7 @@ static int JsonFTPLogger(ThreadVars *tv, void *thread_data,
         if (f->alproto == ALPROTO_FTPDATA) {
             EveFTPDataAddMetadata(f, jb);
         } else {
-            EveFTPLogCommand(f, tx, jb);
+            EveFTPLogCommand(tx, jb);
         }
 
         if (!jb_close(jb)) {