diff options
author | Max Kellermann <max@duempel.org> | 2008-10-22 21:40:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-22 21:40:32 +0200 |
commit | d0a9dcdcf53dfce14fad41166001b6c3ffb754bc (patch) | |
tree | 66b255f766cc680a1e9c43cf071326ab1142f3d2 /src/command.c | |
parent | 7aca4cd194b8ec2546e598800b153a5009b1792d (diff) | |
download | mpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.tar.gz mpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.tar.xz mpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.zip |
ack: converted ACK_ERROR_* macros to enum
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 4ded86089..30d1af103 100644 --- a/src/command.c +++ b/src/command.c @@ -92,7 +92,7 @@ void command_success(struct client *client) client_puts(client, "OK\n"); } -static void command_error_v(struct client *client, int error, +static void command_error_v(struct client *client, enum ack error, const char *fmt, va_list args) { assert(client != NULL); @@ -106,7 +106,7 @@ static void command_error_v(struct client *client, int error, current_command = NULL; } -mpd_fprintf_ void command_error(struct client *client, int error, +mpd_fprintf_ void command_error(struct client *client, enum ack error, const char *fmt, ...) { va_list args; |