aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-11 21:31:26 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-12 05:27:32 -0700
commit0fd45f50ec56bcfacae3f6f141ea804b9ac3493f (patch)
tree134c8b752246eb55315a3aab02419c188e362dea /src/update.c
parent8636b3185268e8de90c566d472c52b814111b8c3 (diff)
downloadmpd-0fd45f50ec56bcfacae3f6f141ea804b9ac3493f.tar.gz
mpd-0fd45f50ec56bcfacae3f6f141ea804b9ac3493f.tar.xz
mpd-0fd45f50ec56bcfacae3f6f141ea804b9ac3493f.zip
directory: rename isRootDirectory => path_is_music_root
down with camelCase!
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c
index 7c2a7570a..72f4b943b 100644
--- a/src/update.c
+++ b/src/update.c
@@ -349,8 +349,8 @@ static void updatePath(const char *utf8path)
static void * update_task(void *_path)
{
- if (_path != NULL && !isRootDirectory(_path)) {
- updatePath((char *)_path);
+ if (_path && !path_is_music_root(_path)) {
+ updatePath(_path);
free(_path);
} else {
struct stat st;