aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:48:55 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:48:55 +0200
commit3c1142cbcbd428ac5784ef098ac5e7a393647aa6 (patch)
tree419db2c93e475481026572a4c7f5012b31090535 /src/update.h
parente79aacf1db334ba920de0732631e999ab8144721 (diff)
downloadmpd-3c1142cbcbd428ac5784ef098ac5e7a393647aa6.tar.gz
mpd-3c1142cbcbd428ac5784ef098ac5e7a393647aa6.tar.xz
mpd-3c1142cbcbd428ac5784ef098ac5e7a393647aa6.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 'src/update.h')
-rw-r--r--src/update.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.h b/src/update.h
index 574749fce..86baecbf1 100644
--- a/src/update.h
+++ b/src/update.h
@@ -31,7 +31,7 @@ enum update_return {
int isUpdatingDB(void);
enum update_return
-exploreDirectory(Directory * directory);
+updateDirectory(Directory * directory);
/*
* returns the non-negative update job ID on success,