aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-16 21:18:31 +0100
committerMax Kellermann <max@duempel.org>2008-12-16 21:18:31 +0100
commit1d82edc6d36115ef4ecc251086a5b31c72333e5d (patch)
tree5fe8742e13da412612554705d052c218923466aa /src/command.c
parent3287726736a0432d2316914767b397caab0fd11f (diff)
downloadmpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.tar.gz
mpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.tar.xz
mpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.zip
ls: make printRemoteUrlHandlers() return void
printRemoteUrlHandlers() cannot fail, and does not need a return value.
Diffstat (limited to '')
-rw-r--r--src/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index c725282aa..bc5273637 100644
--- a/src/command.c
+++ b/src/command.c
@@ -275,7 +275,8 @@ handle_urlhandlers(struct client *client,
{
if (client_get_uid(client) > 0)
client_puts(client, "handler: file://\n");
- return printRemoteUrlHandlers(client);
+ printRemoteUrlHandlers(client);
+ return COMMAND_RETURN_OK;
}
static enum command_return