aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-10 10:00:47 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-10 10:00:47 +0000
commit997541e1eb05545f6653e3673f37bcb023b76b58 (patch)
tree243d113fc07c149d8dc8d0abfdcc2b3643d06fa2 /src/command.c
parent68dc3517a63ae26bdd34d2ebcb9c48d5fe099714 (diff)
downloadmpd-997541e1eb05545f6653e3673f37bcb023b76b58.tar.gz
mpd-997541e1eb05545f6653e3673f37bcb023b76b58.tar.xz
mpd-997541e1eb05545f6653e3673f37bcb023b76b58.zip
increment playlist version on update, so clients know to update
git-svn-id: https://svn.musicpd.org/mpd/trunk@240 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 4e1d80dad..ae571a401 100644
--- a/src/command.c
+++ b/src/command.c
@@ -317,6 +317,7 @@ int handleSearch(FILE * fp, unsigned int * permission, int argArrayLength,
int handleUpdate(FILE * fp, unsigned int * permission, int argArrayLength,
char ** argArray)
{
+ incrPlaylistVersion();
return updateMp3Directory(fp);
}