diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 14:19:06 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 14:19:06 +0000 |
commit | 57742785b4ebd756ea4c7b05aeed873a103bb9e3 (patch) | |
tree | e11607d107f75226db178ea4bc6773a114376713 | |
parent | b68417a643ac97834dea518ee79dc2c4a697a93f (diff) | |
download | mpd-57742785b4ebd756ea4c7b05aeed873a103bb9e3.tar.gz mpd-57742785b4ebd756ea4c7b05aeed873a103bb9e3.tar.xz mpd-57742785b4ebd756ea4c7b05aeed873a103bb9e3.zip |
forgetting to increment playlist version after reading the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | src/directory.c | 1 | ||||
-rw-r--r-- | src/sig_handlers.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c index 41dc9a013..a93c84fb2 100644 --- a/src/directory.c +++ b/src/directory.c @@ -128,6 +128,7 @@ void readDirectoryDBIfUpdateIsFinished() { if(directory_reReadDB && 0==directory_updatePid) { DEBUG("readDirectoryDB since update finished successfully\n"); readDirectoryDB(); + incrPlaylistVersion(); directory_reReadDB = 0; } } diff --git a/src/sig_handlers.c b/src/sig_handlers.c index 1dc1f428b..9ec23df4b 100644 --- a/src/sig_handlers.c +++ b/src/sig_handlers.c @@ -41,6 +41,7 @@ int handlePendingSignals() { DEBUG("got SIGHUP, rereading DB\n"); signal_clear(SIGHUP); readDirectoryDB(); + incrPlaylistVersion(); } return 0; |