mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
@@ -211,7 +211,7 @@ bool Rbl::evaluate(Transaction *t, RuleWithActions *rule,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = getaddrinfo(host.c_str(), NULL, NULL, &info);
|
rc = 0;
|
||||||
|
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
if (info != NULL) {
|
if (info != NULL) {
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ RuleWithActions::RuleWithActions(
|
|||||||
delete a;
|
delete a;
|
||||||
std::cout << "General failure, action: " << a->m_name;
|
std::cout << "General failure, action: " << a->m_name;
|
||||||
std::cout << " has an unknown type." << std::endl;
|
std::cout << " has an unknown type." << std::endl;
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete actions;
|
delete actions;
|
||||||
|
|||||||
Reference in New Issue
Block a user