projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renaming to bpph
[ppastats.git]
/
src
/
fcache.c
diff --git
a/src/fcache.c
b/src/fcache.c
index
1e10a19
..
acc2e7a
100644
(file)
--- a/
src/fcache.c
+++ b/
src/fcache.c
@@
-83,17
+83,17
@@
char *fcache_get(const char *key)
}
content = file_get_content(path);
}
content = file_get_content(path);
-
+
if (content)
log_debug(_("file cache hit %s"), key);
else
log_debug(_("file cache miss %s %s"), key, path);
if (content)
log_debug(_("file cache hit %s"), key);
else
log_debug(_("file cache miss %s %s"), key, path);
-
+
free(path);
free(path);
-
+
return content;
}
return content;
}
-
+
void fcache_put(const char *key, char *value)
{
char *path, *dir, *tmp;
void fcache_put(const char *key, char *value)
{
char *path, *dir, *tmp;