X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Ffcache.c;fp=src%2Ffcache.c;h=acc2e7a481c80c301fe451a5d1935bfb111e5fef;hb=967d20c38c65689c96a0276e6f916b4f8e2617de;hp=1e10a193c056d1fced43dd4ec8704734556ba8bd;hpb=490b3190f22c0b678f3d1cd07e2d6b1f40bd280e;p=ppastats.git diff --git a/src/fcache.c b/src/fcache.c index 1e10a19..acc2e7a 100644 --- a/src/fcache.c +++ b/src/fcache.c @@ -83,17 +83,17 @@ char *fcache_get(const char *key) } content = file_get_content(path); - + if (content) log_debug(_("file cache hit %s"), key); else log_debug(_("file cache miss %s %s"), key, path); - + free(path); - + return content; } - + void fcache_put(const char *key, char *value) { char *path, *dir, *tmp;