summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
Diffstat (limited to 'concat.c')
-rw-r--r--concat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/concat.c b/concat.c
index ddeaa90..563cdb4 100644
--- a/concat.c
+++ b/concat.c
@@ -72,7 +72,7 @@ void concatData(
 }
 
 static const char *uidPath(uint32_t uid, const char *type) {
-	static char buf[PATH_MAX + 1];
+	static char buf[PATH_MAX];
 	char str[32];
 	snprintf(str, sizeof(str), "%" PRIu32, uid);
 	struct Variable vars[] = {
@@ -126,7 +126,7 @@ static int concatHTML(FILE *file, struct List thread) {
 }
 
 static const char *threadPath(const char *messageID, const char *type) {
-	static char buf[PATH_MAX + 1];
+	static char buf[PATH_MAX];
 	struct Variable vars[] = {
 		{ "messageID", messageID },
 		{ "type", type },