aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-08-04 00:12:37 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-08-04 00:12:37 +0200
commit22a1ccf7a3afa9c2e3e5565a5698bf970a748697 (patch)
tree1baddbdfdba5d666283f389d6a824eeed685761d
parent94a1c751859e3055aa421357bfbcc88f0496440e (diff)
SaveThisMsg: set 'Sender' to 0
-rw-r--r--FICS/playerdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index d137de0..b5f40d9 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -2428,7 +2428,7 @@ ClearTextList(textlist *head)
PRIVATE int
SaveThisMsg(int which, char *line)
{
- char Sender[MAX_LOGIN_NAME];
+ char Sender[MAX_LOGIN_NAME] = { '\0' };
int p1;
if (which == 0)