mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
fix: fix config parse bug
This commit is contained in:
parent
a66d14aa2e
commit
9804f03563
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user