diff options
author | Max Kellermann <max@duempel.org> | 2009-10-31 18:23:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-31 18:23:56 +0100 |
commit | 806496dfc937d9b55e00672d42928a25cfa67c90 (patch) | |
tree | 1a340ce9afe9fa763c83943e7f68cc5b8f3ec750 /src/update_walk.c | |
parent | 9eadb517da965b01929bdb7ce5c8f2911a9363db (diff) | |
parent | 3de912e2b956821782bd77acc6e12f66086c1926 (diff) | |
download | mpd-806496dfc937d9b55e00672d42928a25cfa67c90.tar.gz mpd-806496dfc937d9b55e00672d42928a25cfa67c90.tar.xz mpd-806496dfc937d9b55e00672d42928a25cfa67c90.zip |
Merge branch 'v0.15.x'
Conflicts:
NEWS
configure.ac
src/decoder/ffmpeg_plugin.c
src/update.c
Diffstat (limited to 'src/update_walk.c')
-rw-r--r-- | src/update_walk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/update_walk.c b/src/update_walk.c index fe99ea32a..68ebbedeb 100644 --- a/src/update_walk.c +++ b/src/update_walk.c @@ -695,7 +695,11 @@ updateDirectory(struct directory *directory, const struct stat *st) continue; utf8 = fs_charset_to_utf8(ent->d_name); - if (utf8 == NULL || skip_symlink(directory, utf8)) { + if (utf8 == NULL) + continue; + + if (skip_symlink(directory, utf8)) { + delete_name_in(directory, utf8); g_free(utf8); continue; } |