diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-05 21:49:56 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-05 21:49:56 +0200 |
commit | 5ebe1b869b960078cbb26c0b90a848be9800ff18 (patch) | |
tree | 1b8090a483001d33985516bb87defc6503a7d333 /plugins/artwork | |
parent | 3e56c4fa4b69e20afda0c162714549ee116e06cc (diff) |
fixed artwork cache resetting in multiple places (bug #1143)
Diffstat (limited to 'plugins/artwork')
-rw-r--r-- | plugins/artwork/artwork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c index e69c61e4..32cd1b96 100644 --- a/plugins/artwork/artwork.c +++ b/plugins/artwork/artwork.c @@ -122,7 +122,7 @@ static time_t artwork_reset_time; static char artwork_filemask[200]; static const char *get_default_cover (void) { -return default_cover; + return default_cover; } static int @@ -1387,7 +1387,7 @@ find_image (const char *path) { // invalidate cache every 2 days if ((cache_period > 0 && (tm - stat_buf.st_mtime > cache_period * 60 * 60)) || artwork_reset_time > stat_buf.st_mtime) { - trace ("reloading cached file %s\n", path); + trace ("deleting cached file %s\n", path); unlink (path); return NULL; } |