From b58bc70d07dee645d747d3953edaea1c4be909a0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 2 Feb 2008 09:22:10 +0100 Subject: [PATCH] Remove telfil, use teldir instead. --- include/optlist.h | 1 - src/lib/common/mailbox.c | 2 +- src/lib/global/path.c.in | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/optlist.h b/include/optlist.h index bc86d5ac0..2dc683430 100644 --- a/include/optlist.h +++ b/include/optlist.h @@ -51,7 +51,6 @@ extern char motdfil[]; extern char downfil[]; extern char annfil[]; extern char teldir[]; -extern char telfil[]; enum { KM_ALLOC = 1, /* memory allocated */ diff --git a/src/lib/common/mailbox.c b/src/lib/common/mailbox.c index 6205121fd..516956013 100644 --- a/src/lib/common/mailbox.c +++ b/src/lib/common/mailbox.c @@ -40,6 +40,6 @@ char * mailbox(char *buf, natid cn) { - (void)sprintf(buf, "%s%d", telfil, cn); + sprintf(buf, "%s/tel%d", teldir, cn); return buf; } diff --git a/src/lib/global/path.c.in b/src/lib/global/path.c.in index a5cb58658..5a4fbc3eb 100644 --- a/src/lib/global/path.c.in +++ b/src/lib/global/path.c.in @@ -67,7 +67,6 @@ char *gamedir = "@gamedir@"; char teldir[] = "tel"; char motdfil[] = "motd"; char downfil[] = "down"; -char telfil[] = "tel/tel"; char annfil[] = "ann"; char *listen_addr = ""; -- 2.43.0