aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/update.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f1018bb22..8764db1b3 100644
--- a/NEWS
+++ b/NEWS
@@ -60,6 +60,7 @@ ver 0.14.2 (2009/??/??)
- shout: clear buffer before calling the encoder
* mapper: remove trailing slashes from music_directory
* player: set player error when output device fails
+* update: recursively purge deleted directories
ver 0.14.1 (2009/01/17)
diff --git a/src/update.c b/src/update.c
index 216e40422..90b7cbe8f 100644
--- a/src/update.c
+++ b/src/update.c
@@ -225,7 +225,7 @@ removeDeletedFromDirectory(struct directory *directory)
continue;
g_debug("removing directory: %s", dv->base[i]->path);
- dirvec_delete(dv, dv->base[i]);
+ delete_directory(dv->base[i]);
modified = true;
}