Commit 42239a30 authored by Max Kellermann's avatar Max Kellermann

client/Response: use Fmt() in FormatError()

parent 4ee0a06e
......@@ -86,8 +86,8 @@ Response::Error(enum ack code, const char *msg) noexcept
void
Response::FormatError(enum ack code, const char *fmt, ...) noexcept
{
Format("ACK [%i@%u] {%s} ",
(int)code, list_index, command);
Fmt(FMT_STRING("ACK [{}@{}] {{{}}} "),
(int)code, list_index, command);
std::va_list args;
va_start(args, fmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment