From 7373cf518f4d4c47f49693690c2ab8ec29bb8510 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 18 Jan 2017 04:39:35 -0500 Subject: Restore dircache hookup in the database ramcache. Do a few other changes to dircache and file code flags to accomodate its demands. Change-Id: I4742a54e8cfbe4d8b9cffb75faaf920dd907cf8a --- apps/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/playlist.c') diff --git a/apps/playlist.c b/apps/playlist.c index 176cfc3af7..e8d9896a01 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -1324,7 +1324,7 @@ static void playlist_thread(void) && queue_empty(&playlist_queue); index++) { /* Process only pointers that are superficially stale. */ - if (dircache_search(DCS_FILEREF, &playlist->dcfrefs[index], NULL) == 0) + if (dircache_search(DCS_FILEREF, &playlist->dcfrefs[index], NULL) > 0) continue ; control_file = playlist->indices[index] & PLAYLIST_INSERT_TYPE_MASK; -- cgit v1.2.3