summaryrefslogtreecommitdiff
path: root/src/directory.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-16 00:50:33 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-16 00:50:33 +0000
commitda588cbc46e316fd750ab6a72de90b8108dba716 (patch)
tree425ed5d373e76d7ff9f240805783bd1cdce59154 /src/directory.c
parentc4d2b8dc1cc73bd2229e1717b3ef6467bc7928d6 (diff)
*gasp* added a comment
git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 27652e3db..495173fdd 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -336,6 +336,11 @@ int updateInDirectory(Directory * directory, char * shortname, char * name) {
return 0;
}
+/* return values:
+ -1 -> error
+ 0 -> no error, but nothing removed
+ 1 -> no error, and stuff removed
+ */
int removeDeletedFromDirectory(Directory * directory) {
DIR * dir;
char cwd[2];