mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Refactoring on the VariableValue class
This commit is contained in:
@@ -117,7 +117,7 @@ bool SetVar::evaluate(Rule *rule, Transaction *t) {
|
||||
if (l.size() == 0) {
|
||||
value = 0;
|
||||
} else {
|
||||
value = stoi(l[0]->m_value);
|
||||
value = stoi(l[0]->getValue());
|
||||
for (auto &i : l) {
|
||||
delete i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user