summaryrefslogtreecommitdiffstats
path: root/innbbsd/echobbslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/echobbslib.c')
-rw-r--r--innbbsd/echobbslib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/innbbsd/echobbslib.c b/innbbsd/echobbslib.c
index 7efc00d4..0d34a443 100644
--- a/innbbsd/echobbslib.c
+++ b/innbbsd/echobbslib.c
@@ -10,6 +10,8 @@
#endif
#include "config.h"
+#include "externs.h"
+
char INNBBSCONF[MAXPATHLEN];
char INNDHOME[MAXPATHLEN];
char HISTORY[MAXPATHLEN];
@@ -239,7 +241,7 @@ initial_bbs(outgoing)
}
}
#ifdef WITH_ECHOMAIL
- bbsnameptr = (char *)fileglue("%s/bbsname.bbs", INNDHOME);
+ bbsnameptr = fileglue("%s/bbsname.bbs", INNDHOME);
if ((FN = fopen(bbsnameptr, "r")) == NULL) {
fprintf(stderr, "can't open file %s\n", bbsnameptr);
return 0;