Remove unsupport calls

Signed-off-by: Le Yao <le.yao@intel.com>
This commit is contained in:
Le Yao
2021-07-01 04:10:37 -04:00
parent 9de05109bf
commit bf2bde603f
2 changed files with 1 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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;