(teldir, motdfil, downfil, disablefil, telfil, annfil, timestampfil):

Change to arrays.
This commit is contained in:
Markus Armbruster 2006-06-08 20:22:11 +00:00
parent 7f301bb7f1
commit 7d75e2b8d3
2 changed files with 14 additions and 14 deletions

View file

@ -46,13 +46,13 @@ extern char dflt_econfig[];
extern char *configdir; extern char *configdir;
extern char *motdfil; extern char motdfil[];
extern char *downfil; extern char downfil[];
extern char *disablefil; extern char disablefil[];
extern char *annfil; extern char annfil[];
extern char *timestampfil; extern char timestampfil[];
extern char *teldir; extern char teldir[];
extern char *telfil; extern char telfil[];
enum { enum {
KM_ALLOC = 1, /* memory allocated */ KM_ALLOC = 1, /* memory allocated */

View file

@ -60,13 +60,13 @@ char *infodir = "@einfodir@";
char *gamedir = "@gamedir@"; char *gamedir = "@gamedir@";
/* These are relative to gamedir: */ /* These are relative to gamedir: */
char *teldir = "tel"; char teldir[] = "tel";
char *motdfil = "motd"; char motdfil[] = "motd";
char *downfil = "down"; char downfil[] = "down";
char *disablefil = "disable"; char disablefil[] = "disable";
char *telfil = "tel/tel"; char telfil[] = "tel/tel";
char *annfil = "ann"; char annfil[] = "ann";
char *timestampfil = "timestamp"; char timestampfil[] = "timestamp";
char *listen_addr = ""; char *listen_addr = "";
char *loginport = "@EMPIREPORT@"; char *loginport = "@EMPIREPORT@";