Refactoring on Transaction class: adding comments and renaming variables

This commit is contained in:
Felipe Zimmerle
2016-01-14 11:58:40 -03:00
parent 6f1e6f37d7
commit 4db5cc7d26
19 changed files with 48 additions and 47 deletions

View File

@@ -24,7 +24,7 @@ namespace modsecurity {
namespace actions {
bool Log::evaluate(Rule *rule, Transaction *transaction) {
transaction->save_in_auditlog = true;
transaction->m_toBeSavedInAuditlogs = true;
/* FIXME: transaction->serverLog("Something...."); */
transaction->debug(9, "Saving transaction to logs");
return true;