mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Renames collection::Variable to VariableValue
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Variables {
|
||||
|
||||
void Time::evaluate(Transaction *transaction,
|
||||
Rule *rule,
|
||||
std::vector<const collection::Variable *> *l) {
|
||||
std::vector<const VariableValue *> *l) {
|
||||
|
||||
char tstr[200];
|
||||
struct tm timeinfo;
|
||||
@@ -48,7 +48,7 @@ void Time::evaluate(Transaction *transaction,
|
||||
strftime(tstr, 200, "%H:%M:%S", &timeinfo);
|
||||
|
||||
transaction->m_variableTime.assign(tstr);
|
||||
l->push_back(new collection::Variable(&m_retName,
|
||||
l->push_back(new VariableValue(&m_retName,
|
||||
&transaction->m_variableTime));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user