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