mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-02 06:34:44 +03:00
Constify Transaction on variable resolution
This commit is contained in:
committed by
Felipe Zimmerle
parent
7afcd3046d
commit
1f80055f63
@@ -33,8 +33,8 @@
|
||||
namespace modsecurity {
|
||||
namespace variables {
|
||||
|
||||
void TimeWDay::evaluate(Transaction *transaction,
|
||||
VariableValues *l) {
|
||||
void TimeWDay::evaluate(const Transaction *transaction,
|
||||
VariableValues *l) const noexcept {
|
||||
char tstr[200];
|
||||
struct tm timeinfo;
|
||||
time_t timer;
|
||||
|
||||
Reference in New Issue
Block a user