From 49d608f6f0630f72ffa06293c2b28a1f5b655eed Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 14 Jul 2005 19:29:25 +0000 Subject: [PATCH] Added some environment logging --- mbsebbs/mbsebbs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbsebbs/mbsebbs.c b/mbsebbs/mbsebbs.c index 6bb42fc8..fa2f4498 100644 --- a/mbsebbs/mbsebbs.c +++ b/mbsebbs/mbsebbs.c @@ -117,6 +117,10 @@ int main(int argc, char **argv) Syslog('+', "REMOTEHOST %s", p); if ((p = getenv("TERM")) != NULL) Syslog('+', "TERM=%s", p); + if ((p = getnev("LANG")) != NULL) + Syslog('+', "LANG=%s", p); + if ((p = getenv("LC_ALL")) != NULL) + Syslog('+', "LC_ALL=%s", p); /* * Initialize