aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-16 11:13:27 +0000
committerKalle Wallin <kaw@linux.se>2004-06-16 11:13:27 +0000
commit4fce016e7a873d941899c509bd0a5be3f46ea1b8 (patch)
tree37e18811f1322886f8762b4a4c7d2beb74f00ac5 /src/mpdclient.c
parent7857a69fb3c57714a593c71956606e2bae4543c9 (diff)
downloadmpd-4fce016e7a873d941899c509bd0a5be3f46ea1b8.tar.gz
mpd-4fce016e7a873d941899c509bd0a5be3f46ea1b8.tar.xz
mpd-4fce016e7a873d941899c509bd0a5be3f46ea1b8.zip
libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update()
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1508 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mpdclient.c')
-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);
}