aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-03-23 20:17:54 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2026-03-23 20:17:54 +0100
commit2107123ec807a61135f97ed8620818fe0d691156 (patch)
tree5484ebf09bcdaba0a1a231c6f8d55af79e994cfb
parent2a59f55e8c0039374ce9f7bd55a25af95609b321 (diff)
Set array to zero
-rw-r--r--FICS/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/command.c b/FICS/command.c
index 3a8ddbf..c5d6950 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -1303,7 +1303,7 @@ PUBLIC void
commands_init(void)
{
FILE *fp, *afp;
- char fname[MAX_FILENAME_SIZE];
+ char fname[MAX_FILENAME_SIZE] = { '\0' };
int fd[2];
int i = 0;