mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 02:10:36 +03:00
Constify Transaction on variable resolution
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
namespace modsecurity {
|
||||
namespace variables {
|
||||
|
||||
void TimeMon::evaluate(Transaction *transaction,
|
||||
VariableValues *l) {
|
||||
void TimeMon::evaluate(const Transaction *transaction,
|
||||
VariableValues *l) const noexcept {
|
||||
char tstr[200];
|
||||
struct tm timeinfo;
|
||||
time_t timer;
|
||||
|
||||
Reference in New Issue
Block a user