diff options
Diffstat (limited to 'src/HTTP/UrlParser.cpp')
-rw-r--r-- | src/HTTP/UrlParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTP/UrlParser.cpp b/src/HTTP/UrlParser.cpp index 05db3e413..85b1cd216 100644 --- a/src/HTTP/UrlParser.cpp +++ b/src/HTTP/UrlParser.cpp @@ -135,7 +135,7 @@ std::pair<bool, AString> cUrlParser::Parse( a_Port = GetDefaultPort(a_Scheme); if (a_Port == 0) { - return std::make_pair(false, Printf("Unknown URL scheme: \"%s\"", a_Scheme.c_str())); + return std::make_pair(false, fmt::format(FMT_STRING("Unknown URL scheme: \"{}\""), a_Scheme)); } // If the next two chars are a double-slash, skip them: |