]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output/tx: minor code cleanup
authorVictor Julien <vjulien@oisf.net>
Thu, 8 Jun 2023 16:41:57 +0000 (18:41 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 9 Jun 2023 18:51:30 +0000 (20:51 +0200)
src/output-tx.c

index 71f44c177378860e67f1555f8df1dc8ee6fa23ed..d932b9493fbebb9ed20feacde61dfccb3d7bb65d 100644 (file)
@@ -451,9 +451,7 @@ static TmEcode OutputTxLog(ThreadVars *tv, Packet *p, void *thread_data)
                 /* call only for the correct direction, except when it looks anything like a end of
                  * transaction or end of stream. Since OutputTxLogFiles has complicated logic around
                  * that, we just leave it to that function to sort things out for now. */
-                if (eval_files || AppLayerParserIsFileTxInDir(
-                                          txd, pkt_dir)) { // need to process each tx that might
-                                                           // be a file tx, even if there
+                if (eval_files || AppLayerParserIsFileTxInDir(txd, pkt_dir)) {
                     OutputTxLogFiles(tv, op_thread_data->file, op_thread_data->filedata, p, f, tx,
                             tx_id, txd, tx_complete, ts_ready, tc_ready, ts_eof, tc_eof, eof);
                 }