aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c
index 6d7cc3e23..d93066389 100644
--- a/src/database.c
+++ b/src/database.c
@@ -128,6 +128,10 @@ db_walk(const char *uri,
return false;
}
+ if (visitor->directory != NULL &&
+ !visitor->directory(directory, ctx, error_r))
+ return false;
+
return directory_walk(directory, visitor, ctx, error_r);
}