Merge pull request #158 from woluohenga/fix_config_parse_bug

fix: fix config parse bug
This commit is contained in:
ruanshudong 2021-04-02 09:07:28 +08:00 committed by GitHub
commit d79e204d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)