summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 68b894f9ff..e9a8dab599 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -4154,7 +4154,7 @@ void tagcache_screensync_enable(bool state)
4154 tc_stat.syncscreen = state; 4154 tc_stat.syncscreen = state;
4155} 4155}
4156 4156
4157void build_tagcache(const char *path) 4157void tagcache_build(const char *path)
4158{ 4158{
4159 struct tagcache_header header; 4159 struct tagcache_header header;
4160 bool ret; 4160 bool ret;
@@ -4323,11 +4323,11 @@ static void tagcache_thread(void)
4323 4323
4324 case Q_REBUILD: 4324 case Q_REBUILD:
4325 remove_files(); 4325 remove_files();
4326 build_tagcache("/"); 4326 tagcache_build("/");
4327 break; 4327 break;
4328 4328
4329 case Q_UPDATE: 4329 case Q_UPDATE:
4330 build_tagcache("/"); 4330 tagcache_build("/");
4331#ifdef HAVE_TC_RAMCACHE 4331#ifdef HAVE_TC_RAMCACHE
4332 load_ramcache(); 4332 load_ramcache();
4333#endif 4333#endif
@@ -4345,13 +4345,13 @@ static void tagcache_thread(void)
4345 { 4345 {
4346 load_ramcache(); 4346 load_ramcache();
4347 if (tc_stat.ramcache && global_settings.tagcache_autoupdate) 4347 if (tc_stat.ramcache && global_settings.tagcache_autoupdate)
4348 build_tagcache("/"); 4348 tagcache_build("/");
4349 } 4349 }
4350 else 4350 else
4351#endif 4351#endif
4352 if (global_settings.tagcache_autoupdate) 4352 if (global_settings.tagcache_autoupdate)
4353 { 4353 {
4354 build_tagcache("/"); 4354 tagcache_build("/");
4355 4355
4356 /* This will be very slow unless dircache is enabled 4356 /* This will be very slow unless dircache is enabled
4357 or target is flash based, but do it anyway for 4357 or target is flash based, but do it anyway for