From 22d7323eee6e3f3f9901e9ce1fd4aa47560093e8 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 8 Jun 2023 18:41:57 +0200 Subject: [PATCH] output/tx: minor code cleanup --- src/output-tx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/output-tx.c b/src/output-tx.c index 71f44c1773..d932b9493f 100644 --- a/src/output-tx.c +++ b/src/output-tx.c @@ -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); }