Added some environment logging

This commit is contained in:
Michiel Broek 2005-07-14 19:29:59 +00:00
parent 49d608f6f0
commit 950b5fb882

View File

@ -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);