Skip to content

Commit bf2bde6

Browse files
author
Le Yao
committed
Remove unsupport calls
Signed-off-by: Le Yao <le.yao@intel.com>
1 parent 9de0510 commit bf2bde6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/operators/rbl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ bool Rbl::evaluate(Transaction *t, RuleWithActions *rule,
211211
return false;
212212
}
213213

214-
rc = getaddrinfo(host.c_str(), NULL, NULL, &info);
214+
rc = 0;
215215

216216
if (rc != 0) {
217217
if (info != NULL) {

src/rule_with_actions.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ RuleWithActions::RuleWithActions(
120120
delete a;
121121
std::cout << "General failure, action: " << a->m_name;
122122
std::cout << " has an unknown type." << std::endl;
123-
throw;
124123
}
125124
}
126125
delete actions;

0 commit comments

Comments
 (0)