diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-07 22:11:21 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-07 22:11:21 +0200 |
commit | 81ce0680850f05c2e533ea398d8ed2f01e01a910 (patch) | |
tree | 01e03fb34d578a9092da15f4b701cc69c1899f50 /src | |
parent | 7d8c9cc7e31e15b93af7c08f7d03ed8ca10f5454 (diff) | |
download | mpd-81ce0680850f05c2e533ea398d8ed2f01e01a910.tar.gz mpd-81ce0680850f05c2e533ea398d8ed2f01e01a910.tar.xz mpd-81ce0680850f05c2e533ea398d8ed2f01e01a910.zip |
directory: fix return value in removeDeletedFromDirectory
oops :x
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c index 949d249a4..4b4e840e0 100644 --- a/src/directory.c +++ b/src/directory.c @@ -342,7 +342,7 @@ removeDeletedFromDirectory(char *path_max_tmp, Directory * directory) data.dir = directory; data.tmp = path_max_tmp; - data.ret = UPDATE_RETURN_UPDATED; + data.ret = ret; songvec_for_each(&directory->songs, delete_song_if_removed, &data); return data.ret; |