aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-09-24 17:57:39 +0200
committerMax Kellermann <max@duempel.org>2009-09-24 17:57:39 +0200
commit1cc4914b246b861035519818f27de9876285b4d1 (patch)
tree5e5720dc66603f0b16c51199dd3ee4fd41c31a5f /src/command.c
parentaec18c74ec63de707b35f126bcdb9ed726ec3a22 (diff)
downloadmpd-1cc4914b246b861035519818f27de9876285b4d1.tar.gz
mpd-1cc4914b246b861035519818f27de9876285b4d1.tar.xz
mpd-1cc4914b246b861035519818f27de9876285b4d1.zip
update: renamed directory_update_init() to update_enqueue()
Diffstat (limited to '')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 58e931650..ee25c1d85 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1025,7 +1025,7 @@ handle_update(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
if (argc == 2)
path = g_strdup(argv[1]);
- ret = directory_update_init(path);
+ ret = update_enqueue(path);
if (ret > 0) {
client_printf(client, "updating_db: %i\n", ret);
return COMMAND_RETURN_OK;