aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol/Result.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 17:27:26 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 17:36:28 +0100
commit7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch)
tree7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/protocol/Result.cxx
parentf2510d60fad1c5811fba3d253ef1c8dabb712304 (diff)
downloadmpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip
Client: rename the struct client to class Client
Diffstat (limited to 'src/protocol/Result.cxx')
-rw-r--r--src/protocol/Result.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/Result.cxx b/src/protocol/Result.cxx
index f38c33815..e10a731cc 100644
--- a/src/protocol/Result.cxx
+++ b/src/protocol/Result.cxx
@@ -27,13 +27,13 @@ const char *current_command;
int command_list_num;
void
-command_success(struct client *client)
+command_success(Client *client)
{
client_puts(client, "OK\n");
}
void
-command_error_v(struct client *client, enum ack error,
+command_error_v(Client *client, enum ack error,
const char *fmt, va_list args)
{
assert(client != NULL);
@@ -48,7 +48,7 @@ command_error_v(struct client *client, enum ack error,
}
void
-command_error(struct client *client, enum ack error, const char *fmt, ...)
+command_error(Client *client, enum ack error, const char *fmt, ...)
{
va_list args;
va_start(args, fmt);