diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2000-12-08 09:06:33 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2000-12-08 09:06:33 +0000 |
commit | f41d0507060450687d912947e38c9650b6e7cda7 (patch) | |
tree | 075b31508850f156c3f0c1f16f9275f67ba03309 /libexec/telnetd/state.c | |
parent | 7898215858d9a2a3d7d2a5438f6f04098ce2cada (diff) |
Bring recent kerberos fix into -stable.
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r-- | libexec/telnetd/state.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 11788c9b55d..0a998ed7ca4 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -1,4 +1,4 @@ -/* $OpenBSD: state.c,v 1.11 2000/12/06 16:50:15 hin Exp $ */ +/* $OpenBSD: state.c,v 1.12 2000/12/08 09:06:32 hin Exp $ */ /* $NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $ */ /* @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95"; static char rcsid[] = "$NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $"; #else -static char rcsid[] = "$OpenBSD: state.c,v 1.11 2000/12/06 16:50:15 hin Exp $"; +static char rcsid[] = "$OpenBSD: state.c,v 1.12 2000/12/08 09:06:32 hin Exp $"; #endif #endif /* not lint */ @@ -1457,6 +1457,8 @@ suboption() if (envvarok(varp)) { if (valp) /* XXX allocation failure? */ + syslog(LOG_DEBUG, "Setting %=%", + varp, valp); (void)setenv(varp, valp, 1); else unsetenv(varp); @@ -1479,6 +1481,7 @@ suboption() if (envvarok(varp)) { if (valp) /* XXX allocation failure? */ + syslog (void)setenv(varp, valp, 1); else unsetenv(varp); |