diff --git a/src/operators/rbl.cc b/src/operators/rbl.cc index ffdb17a2..9f09c5a7 100644 --- a/src/operators/rbl.cc +++ b/src/operators/rbl.cc @@ -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) { diff --git a/src/rule_with_actions.cc b/src/rule_with_actions.cc index 5ac17a26..8c61e853 100644 --- a/src/rule_with_actions.cc +++ b/src/rule_with_actions.cc @@ -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;