aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/shutdown.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-03-21 14:40:47 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2026-03-21 14:40:47 +0100
commit06b52558213c2b2a54e35d41f412b5230ce16740 (patch)
tree349782c4884aff06c2f237117fe2f026f45484c6 /FICS/shutdown.c
parent3bf13d9ba1f0e014d3bff0c8ddb6a0ae34be87bd (diff)
Did set the arrays to zero
Diffstat (limited to 'FICS/shutdown.c')
-rw-r--r--FICS/shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/shutdown.c b/FICS/shutdown.c
index 22063d9..5393c11 100644
--- a/FICS/shutdown.c
+++ b/FICS/shutdown.c
@@ -16,8 +16,8 @@
#include <bsd/string.h>
#endif
-PRIVATE char downer[1024];
-PRIVATE char reason[1024];
+PRIVATE char downer[1024] = { '\0' };
+PRIVATE char reason[1024] = { '\0' };
PRIVATE time_t lastTimeLeft;
PRIVATE time_t shutdownStartTime;