aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/eco.c')
-rw-r--r--FICS/eco.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/FICS/eco.c b/FICS/eco.c
index ebaf52a..5d269d3 100644
--- a/FICS/eco.c
+++ b/FICS/eco.c
@@ -111,10 +111,10 @@ ECO_init(void)
{
FILE *fp;
char ECO[4];
- char FENpos[73];
- char filename[1024];
+ char FENpos[73] = { '\0' };
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;
@@ -173,11 +173,11 @@ PUBLIC void
NIC_init(void)
{
FILE *fp;
- char FENpos[73];
+ char FENpos[73] = { '\0' };
char NIC[6];
- char filename[1024];
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;
@@ -228,11 +228,11 @@ PUBLIC void
LONG_init(void)
{
FILE *fp;
- char FENpos[73];
- char LONG[256];
- char filename[1024];
+ char FENpos[73] = { '\0' };
+ char LONG[256] = { '\0' };
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;