aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:48:55 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:47 -0700
commitb5d3970c075987d7439e2b60ea043606f46a3bab (patch)
tree18dbef270a5df1c0a6c20ab63f906f871b873ec4 /src/update.h
parent7b5c84829768b8ee2ac0ad131045736afc586643 (diff)
downloadmpd-b5d3970c075987d7439e2b60ea043606f46a3bab.tar.gz
mpd-b5d3970c075987d7439e2b60ea043606f46a3bab.tar.xz
mpd-b5d3970c075987d7439e2b60ea043606f46a3bab.zip
update: merged exploreDirectory() into updateDirectory()
exploreDirectory() duplicates some code in updateDirectory(). Merge both functions, and use directory_is_empty() to determine whether update or explore mode should be used.
Diffstat (limited to '')
-rw-r--r--src/update.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.h b/src/update.h
index 132ef175d..4e59e39b1 100644
--- a/src/update.h
+++ b/src/update.h
@@ -30,7 +30,7 @@ enum update_return {
int isUpdatingDB(void);
-enum update_return exploreDirectory(Directory * directory);
+enum update_return updateDirectory(Directory * directory);
/*
* returns the non-negative update job ID on success,