fix: fix config parse bug

This commit is contained in:
seamesluo 2021-03-25 16:53:01 +08:00
parent a66d14aa2e
commit 9804f03563

View File

@ -238,7 +238,9 @@ void TC_ConfigDomain::setParamValue(const string &line)
}
}
setParamValue(line, "");
// also need parse
string name = parse(TC_Common::trim(line, " \r\n\t"));
setParamValue(name, "");
}
string TC_ConfigDomain::parse(const string& s)