diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-11 21:31:26 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-12 05:27:32 -0700 |
commit | 0fd45f50ec56bcfacae3f6f141ea804b9ac3493f (patch) | |
tree | 134c8b752246eb55315a3aab02419c188e362dea /src/update.c | |
parent | 8636b3185268e8de90c566d472c52b814111b8c3 (diff) | |
download | mpd-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.c | 4 |
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; |