Cosmetics: Fix coding style

This commit is contained in:
Felipe Zimmerle
2015-09-28 16:32:59 -03:00
parent f6e0b447b3
commit b497091017
48 changed files with 136 additions and 92 deletions

View File

@@ -97,7 +97,8 @@ int Driver::addSecRule(Rule *rule) {
std::vector<Rule *> rules = this->rules[i];
for (int j = 0; j < rules.size(); j++) {
if (rules[j]->rule_id == rule->rule_id) {
parserError << "Rule id: " << std::to_string(rule->rule_id) << " is duplicated" << std::endl;
parserError << "Rule id: " << std::to_string(rule->rule_id) \
<< " is duplicated" << std::endl;
return false;
}
}
@@ -126,7 +127,8 @@ int Driver::parse(const std::string &f, const std::string &ref) {
scan_end();
if (audit_log->init() == false) {
parserError << "Problems while initializing the audit logs" << std::endl;
parserError << "Problems while initializing the audit logs" \
<< std::endl;
return false;
}