From 6b7291f4b1d787b479dc93a122d2299f21c77ce2 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 27 Nov 2024 12:35:41 -0500 Subject: [PATCH] chore: src/lib/server/Config remove redundant c_str call --- src/lib/server/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/Config.cpp b/src/lib/server/Config.cpp index f78e29e21..6ce1d3c35 100644 --- a/src/lib/server/Config.cpp +++ b/src/lib/server/Config.cpp @@ -715,7 +715,7 @@ void Config::readSectionOptions(ConfigReadContext &s) if (handled) { // make sure handled options aren't followed by more values 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 { // make filter rule