diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-07 03:13:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-07 03:13:10 -0700 |
commit | c95334b2095e57e900e2c09e858b86f78a5bdb06 (patch) | |
tree | e49fcee7931c20a1fe8a3fd271073fa97e3ea601 /src | |
parent | 38b5be3be82d09342640fa13a64ebd09a7d4a341 (diff) | |
download | mpd-c95334b2095e57e900e2c09e858b86f78a5bdb06.tar.gz mpd-c95334b2095e57e900e2c09e858b86f78a5bdb06.tar.xz mpd-c95334b2095e57e900e2c09e858b86f78a5bdb06.zip |
directory: fix return value in removeDeletedFromDirectory
oops :x
Diffstat (limited to 'src')
-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 9613bbfbd..6dbf7a638 100644 --- a/src/directory.c +++ b/src/directory.c @@ -339,7 +339,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; |