mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Refactoring on the operators: negation is now being handled globally
Other minors changes were also made, including adding the prefix `m_' to all the members of the class.
This commit is contained in:
@@ -84,7 +84,7 @@ int main(int argc, char **argv) {
|
||||
continue;
|
||||
}
|
||||
if (z->op != NULL) {
|
||||
std::string op = z->op->op;
|
||||
std::string op = z->op->m_op;
|
||||
if (operators.count(op) > 0) {
|
||||
operators[op] = 1 + operators[op];
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user