Merge branch 'libmodsecurity' of https://github.com/SpiderLabs/ModSecurity into libmodsecurity

This commit is contained in:
Chaim Sanders
2015-09-25 00:42:57 -04:00
3 changed files with 3 additions and 5 deletions

View File

@@ -203,7 +203,6 @@ libmodsecurity_la_CPPFLAGS = \
-fPIC \
-O3 \
-I ../headers \
-DNO_LOGS=1 \
$(GEOIP_CFLAGS) \
$(PCRE_CPPFLAGS)

View File

@@ -300,7 +300,7 @@ bool Rule::evaluate(Assay *assay) {
if (std::find(exclusions.begin(), exclusions.end(),
v->m_key) != exclusions.end()) {
#ifndef NO_LOGS
assay->debug(9, "Variable: " + v.m_key + " is part of the" +
assay->debug(9, "Variable: " + v->m_key + " is part of the" +
" exclusion list, skipping...");
#endif
continue;
@@ -349,7 +349,7 @@ bool Rule::evaluate(Assay *assay) {
#ifndef NO_LOGS
assay->debug(9, "Target value: \"" + limitTo(80, toHexIfNeeded(value)) + \
"\" (Variable: " + v.m_key + ")");
"\" (Variable: " + v->m_key + ")");
#endif
ret = this->op->evaluate(assay, value);