diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 17:46:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 17:46:42 +0100 |
commit | 45597cc57171484bd59a4ad8f64434090835f93b (patch) | |
tree | c2893a1aa9e714f2e71de919bf8ad9572ec4c252 /src/command.c | |
parent | 6a008b52d1004f56182911f2a635136d0d097918 (diff) | |
download | mpd-45597cc57171484bd59a4ad8f64434090835f93b.tar.gz mpd-45597cc57171484bd59a4ad8f64434090835f93b.tar.xz mpd-45597cc57171484bd59a4ad8f64434090835f93b.zip |
ls: renamed functions, no CamelCase
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command.c b/src/command.c index 1d0f14dab..19aeaba32 100644 --- a/src/command.c +++ b/src/command.c @@ -285,7 +285,7 @@ handle_urlhandlers(struct client *client, { if (client_get_uid(client) > 0) client_puts(client, "handler: file://\n"); - printRemoteUrlHandlers(client); + print_supported_uri_schemes(client); return COMMAND_RETURN_OK; } @@ -462,7 +462,7 @@ handle_add(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) } if (uri_has_scheme(uri)) { - if (!isRemoteUrl(uri)) { + if (!uri_supported_scheme(uri)) { command_error(client, ACK_ERROR_NO_EXIST, "unsupported URI scheme"); return COMMAND_RETURN_ERROR; @@ -497,7 +497,7 @@ handle_addid(struct client *client, int argc, char *argv[]) &added_id); #endif } else { - if (uri_has_scheme(uri) && !isRemoteUrl(uri)) { + if (uri_has_scheme(uri) && !uri_supported_scheme(uri)) { command_error(client, ACK_ERROR_NO_EXIST, "unsupported URI scheme"); return COMMAND_RETURN_ERROR; @@ -1258,7 +1258,7 @@ handle_playlistadd(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) enum playlist_result result; if (uri_has_scheme(uri)) { - if (!isRemoteUrl(uri)) { + if (!uri_supported_scheme(uri)) { command_error(client, ACK_ERROR_NO_EXIST, "unsupported URI scheme"); return COMMAND_RETURN_ERROR; |