From 953142080c1187aa9cbf43ce5a25ca8fd8f55b64 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 19 Nov 2009 18:34:42 +0000 Subject: [PATCH] * Missed one place for the recent db_path change. (Thanks stedy6!) --- inotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotify.c b/inotify.c index 59242b4..f79d59b 100644 --- a/inotify.c +++ b/inotify.c @@ -543,7 +543,7 @@ inotify_remove_file(const char * path) sql_exec(db, "DELETE from DETAILS where ID = %lld", detailID); sql_exec(db, "DELETE from OBJECTS where DETAIL_ID = %lld", detailID); } - asprintf(&art_cache, "%s/art_cache%s", DB_PATH, path); + asprintf(&art_cache, "%s/art_cache%s", db_path, path); remove(art_cache); free(art_cache);