aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mpdclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpdclient.c b/src/mpdclient.c
index c4a88ffe0..c47dc3d19 100644
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
@@ -316,9 +316,9 @@ mpdclient_cmd_crossfade(mpdclient_t *c, gint value)
}
gint
-mpdclient_cmd_db_update(mpdclient_t *c)
+mpdclient_cmd_db_update(mpdclient_t *c, gchar *path)
{
- mpd_sendUpdateCommand(c->connection);
+ mpd_sendUpdateCommand(c->connection, path ? path : "");
return mpdclient_finish_command(c);
}