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