mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Renames collection::Variable to VariableValue
This commit is contained in:
@@ -35,10 +35,10 @@ namespace Variables {
|
||||
|
||||
void TimeEpoch::evaluate(Transaction *transaction,
|
||||
Rule *rule,
|
||||
std::vector<const collection::Variable *> *l) {
|
||||
std::vector<const VariableValue *> *l) {
|
||||
transaction->m_variableTimeEpoch.assign(
|
||||
std::to_string(std::time(nullptr)));
|
||||
l->push_back(new collection::Variable(&m_retName,
|
||||
l->push_back(new VariableValue(&m_retName,
|
||||
&transaction->m_variableTimeEpoch));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user