(teldir, motdfil, downfil, disablefil, telfil, annfil, timestampfil):
Change to arrays.
This commit is contained in:
parent
7f301bb7f1
commit
7d75e2b8d3
2 changed files with 14 additions and 14 deletions
|
@ -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 */
|
||||||
|
|
|
@ -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@";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue