aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-13 16:55:55 +0200
committerMax Kellermann <max@duempel.org>2008-10-13 16:55:55 +0200
commit94a5a5a985ab0ce3d8ca72d4e5be28a71a1010e0 (patch)
tree52dfb43c02d50215db72fce9575923f9ec291eba /src/song.c
parenta52343732b31849e1540e1c97f0d8e5c1b300828 (diff)
downloadmpd-94a5a5a985ab0ce3d8ca72d4e5be28a71a1010e0.tar.gz
mpd-94a5a5a985ab0ce3d8ca72d4e5be28a71a1010e0.tar.xz
mpd-94a5a5a985ab0ce3d8ca72d4e5be28a71a1010e0.zip
update: always look up parent directory in updatePath()
By always creating the parent directory, we can use delete_name_in() without further lookups. The parents which may non exist will be pruned later. An update request for a non-existing or empty directory should be quite unusual, so this doesn't add any measurable overhead.
Diffstat (limited to 'src/song.c')
0 files changed, 0 insertions, 0 deletions