aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/eco.c')
-rw-r--r--FICS/eco.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/FICS/eco.c b/FICS/eco.c
index 7f83587..3598943 100644
--- a/FICS/eco.c
+++ b/FICS/eco.c
@@ -164,6 +164,7 @@ ECO_init(void)
}
(void) strlcpy(ptmp, "", sizeof tmp);
+
if (fgets(ptmp, sizeof tmp, fp) == NULL ||
feof(fp))
break;
@@ -234,6 +235,7 @@ NIC_init(void)
}
(void) strlcpy(ptmp, "", sizeof tmp);
+
if (fgets(ptmp, sizeof tmp, fp) == NULL ||
feof(fp))
break;
@@ -297,6 +299,7 @@ LONG_init(void)
}
(void) strlcpy(ptmp, "", sizeof tmp);
+
if (fgets(ptmp, sizeof tmp, fp) == NULL ||
feof(fp))
break;