aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-25 00:09:31 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-25 00:09:31 +0100
commit2feba16c8c5b0808efd1744502a36b700c931633 (patch)
tree48a2b0868b479d5952ba9e7e4d993a8115a80b7d /FICS/utils.c
parente9726f6f9023f08a499d6c11938f7b4f2985d6d6 (diff)
pcommand: initialized 'tmp'
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 337a838..131e7bd 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -250,7 +250,7 @@ mail_file_to_user(int p, char *subj, char *fname)
PUBLIC int
pcommand(int p, char *comstr, ...)
{
- char tmp[MAX_LINE_SIZE];
+ char tmp[MAX_LINE_SIZE] = { '\0' };
int current_socket = parray[p].socket;
int retval;
va_list ap;