1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Luigi Gangitano <luigi@debian.org>
Date: Mon, 24 Feb 2020 00:46:38 +0100
Subject: fix-build-errors
---
index.c | 2 +-
userinfo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.c b/index.c
index 210485a..e87831e 100644
--- a/index.c
+++ b/index.c
@@ -535,7 +535,7 @@ static void make_date_index(void)
struct dirent *direntp;
char yearindex[MAXLEN];
char yeardir[MAXLEN];
- char yearnum[10];
+ char yearnum[14];
int yearsort[150];
int nyears;
int year;
diff --git a/userinfo.c b/userinfo.c
index 7020203..f17dc25 100644
--- a/userinfo.c
+++ b/userinfo.c
@@ -78,7 +78,7 @@ struct userinfostruct *userinfo_create(const char *userid,const char *ip)
int skip;
int flen;
int count, clen;
- char cstr[9];
+ char cstr[10];
char filename[MAX_USER_FNAME_LEN];
if (!UserStrings) {
|