Minor fix in the decision on whenever the log callback should be called

This commit is contained in:
Felipe Zimmerle
2017-02-26 02:07:14 -03:00
parent e2af60e765
commit e79712095b
3 changed files with 3 additions and 4 deletions

View File

@@ -100,8 +100,7 @@ std::string RuleMessage::errorLog(const RuleMessage *rm) {
}
std::string RuleMessage::log(const RuleMessage *rm) {
std::string msg;
std::string msg("");
if (rm->m_isDisruptive) {
msg.append(disruptiveErrorLog(rm));
} else {