From: Victor Julien Date: Thu, 8 Jun 2023 16:41:57 +0000 (+0200) Subject: output/tx: minor code cleanup X-Git-Tag: suricata-7.0.0-rc2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d7323eee6e3f3f9901e9ce1fd4aa47560093e8;p=thirdparty%2Fsuricata.git output/tx: minor code cleanup --- 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); }