projects
/
ppastats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5c8cf40
)
change cache layout
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 10 May 2012 15:17:52 +0000
(15:17 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 10 May 2012 15:17:52 +0000
(15:17 +0000)
src/fcache.c
patch
|
blob
|
history
diff --git
a/src/fcache.c
b/src/fcache.c
index
1a4623c
..
1e10a19
100644
(file)
--- a/
src/fcache.c
+++ b/
src/fcache.c
@@
-67,7
+67,7
@@
static char *key_to_path(const char *key)
return NULL;
path = malloc(strlen(dir) + 1 + strlen(key) + strlen("/data") + 1);
return NULL;
path = malloc(strlen(dir) + 1 + strlen(key) + strlen("/data") + 1);
- sprintf(path, "%s%s
/
data", dir, key);
+ sprintf(path, "%s%s
.
data", dir, key);
return path;
}
return path;
}