mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34: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:
@@ -27,7 +27,7 @@ namespace operators {
|
||||
|
||||
bool IpMatch::init(const std::string &file, std::string *error) {
|
||||
std::string e("");
|
||||
bool res = m_tree.addFromBuffer(param, &e);
|
||||
bool res = m_tree.addFromBuffer(m_param, &e);
|
||||
|
||||
if (res == false) {
|
||||
error->assign(e);
|
||||
|
Reference in New Issue
Block a user