Extends acmp_prepare to pm_from_file

This commit is contained in:
Felipe Zimmerle
2017-06-16 16:03:30 -03:00
parent ff73b448de
commit 864d54f619

View File

@@ -52,7 +52,9 @@ bool PmFromFile::init(const std::string &config, std::string *error) {
acmp_add_pattern(m_p, line.c_str(), NULL, NULL, line.length());
}
// acmp_prepare(m_p);
while (m_p->is_failtree_done == 0) {
acmp_prepare(m_p);
}
delete iss;
return true;