ls: make printRemoteUrlHandlers() return void

printRemoteUrlHandlers() cannot fail, and does not need a return
value.
This commit is contained in:
Max Kellermann
2008-12-16 21:18:31 +01:00
parent 3287726736
commit 1d82edc6d3
3 changed files with 4 additions and 5 deletions

View File

@@ -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