fixed too large malloc
[ppastats.git] / src / html.c
index c9cb9d6..c5a0a2d 100644 (file)
@@ -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)+
-                           strlen(".html")+
                            (suffixe ? strlen(suffixe) : 0) +
                            1);