diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 10:48:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 10:48:55 +0200 |
commit | 3c1142cbcbd428ac5784ef098ac5e7a393647aa6 (patch) | |
tree | 419db2c93e475481026572a4c7f5012b31090535 /src/update.h | |
parent | e79aacf1db334ba920de0732631e999ab8144721 (diff) | |
download | mpd-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.h | 2 |
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, |