summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-14 19:02:08 +0200
committerMax Kellermann <max@duempel.org>2015-08-14 19:04:00 +0200
commit8e408725e98f1f5dc0cc9299c70d22fcacfdb3a6 (patch)
tree02b507544fa7e2a2d4b3bcb327ba6d3eeeb4053e /src/client/Response.cxx
parentd053797340ae16b16186fe31d60bb12979ba9b81 (diff)
protocol/Result: move current_command to class Response
Diffstat (limited to 'src/client/Response.cxx')
-rw-r--r--src/client/Response.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index 9af3c74ed..d443e66a5 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -20,7 +20,6 @@
#include "config.h"
#include "Response.hxx"
#include "Client.hxx"
-#include "protocol/Result.hxx"
#include "util/FormatString.hxx"
#include <string.h>
@@ -66,7 +65,7 @@ void
Response::FormatError(enum ack code, const char *fmt, ...)
{
Format("ACK [%i@%u] {%s} ",
- (int)code, list_index, current_command);
+ (int)code, list_index, command);
va_list args;
va_start(args, fmt);