chore: src/lib/server/Config remove redundant c_str call
This commit is contained in:
parent
991293dd0c
commit
6b7291f4b1
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ void Config::readSectionOptions(ConfigReadContext &s)
|
||||||
if (handled) {
|
if (handled) {
|
||||||
// make sure handled options aren't followed by more values
|
// make sure handled options aren't followed by more values
|
||||||
if (i < line.size() && (line[i] == ',' || line[i] == ';')) {
|
if (i < line.size() && (line[i] == ',' || line[i] == ';')) {
|
||||||
throw XConfigRead(s, "to many arguments to %s", name.c_str());
|
throw XConfigRead(s, "to many arguments to %s", name);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// make filter rule
|
// make filter rule
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue