forgetting to increment playlist version after reading the db

git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-04-12 14:19:06 +00:00
parent b68417a643
commit 57742785b4
2 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ void readDirectoryDBIfUpdateIsFinished() {
if(directory_reReadDB && 0==directory_updatePid) {
DEBUG("readDirectoryDB since update finished successfully\n");
readDirectoryDB();
incrPlaylistVersion();
directory_reReadDB = 0;
}
}

View File

@ -41,6 +41,7 @@ int handlePendingSignals() {
DEBUG("got SIGHUP, rereading DB\n");
signal_clear(SIGHUP);
readDirectoryDB();
incrPlaylistVersion();
}
return 0;