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

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

parent 4ee0a06e
...@@ -86,7 +86,7 @@ Response::Error(enum ack code, const char *msg) noexcept ...@@ -86,7 +86,7 @@ Response::Error(enum ack code, const char *msg) noexcept
void void
Response::FormatError(enum ack code, const char *fmt, ...) noexcept Response::FormatError(enum ack code, const char *fmt, ...) noexcept
{ {
Format("ACK [%i@%u] {%s} ", Fmt(FMT_STRING("ACK [{}@{}] {{{}}} "),
(int)code, list_index, command); (int)code, list_index, command);
std::va_list args; std::va_list args;
......
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