Added some environment logging

This commit is contained in:
Michiel Broek 2005-07-14 19:29:25 +00:00
parent 9a3c47f15d
commit 49d608f6f0

View File

@ -117,6 +117,10 @@ int main(int argc, char **argv)
Syslog('+', "REMOTEHOST %s", p); Syslog('+', "REMOTEHOST %s", p);
if ((p = getenv("TERM")) != NULL) if ((p = getenv("TERM")) != NULL)
Syslog('+', "TERM=%s", p); 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 * Initialize