diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-11-25 00:09:31 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-11-25 00:09:31 +0100 |
commit | 2feba16c8c5b0808efd1744502a36b700c931633 (patch) | |
tree | 48a2b0868b479d5952ba9e7e4d993a8115a80b7d | |
parent | e9726f6f9023f08a499d6c11938f7b4f2985d6d6 (diff) |
pcommand: initialized 'tmp'
-rw-r--r-- | FICS/utils.c | 2 |
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; |