summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-14 19:00:02 +0200
committerMax Kellermann <max@duempel.org>2015-08-14 19:00:02 +0200
commitd053797340ae16b16186fe31d60bb12979ba9b81 (patch)
tree6bd922a06bc5e749a98eb52803d78dc9b2c8f9d3 /src/client/Response.cxx
parentc8d0f947d2270a52183c653a641bca5b7321f915 (diff)
protocol/Result: move command_list_num to class Response
Diffstat (limited to 'src/client/Response.cxx')
-rw-r--r--src/client/Response.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index c7b25e84c..9af3c74ed 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -65,8 +65,8 @@ Response::Error(enum ack code, const char *msg)
void
Response::FormatError(enum ack code, const char *fmt, ...)
{
- Format("ACK [%i@%i] {%s} ",
- (int)code, command_list_num, current_command);
+ Format("ACK [%i@%u] {%s} ",
+ (int)code, list_index, current_command);
va_list args;
va_start(args, fmt);