projects
/
ppastats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa46046
)
fixed too large malloc
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 May 2012 10:47:19 +0000
(10:47 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 May 2012 10:47:19 +0000
(10:47 +0000)
src/html.c
patch
|
blob
|
history
diff --git
a/src/html.c
b/src/html.c
index
c9cb9d6
..
c5a0a2d
100644
(file)
--- a/
src/html.c
+++ b/
src/html.c
@@
-145,7
+145,6
@@
static char *path_new(const char *dir, const char *file, const char *suffixe)
{
char *path = malloc(strlen(dir)+1+
strlen(file)+
{
char *path = malloc(strlen(dir)+1+
strlen(file)+
- strlen(".html")+
(suffixe ? strlen(suffixe) : 0) +
1);
(suffixe ? strlen(suffixe) : 0) +
1);