summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 1d14d5efe56..b1c9c2b7291 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: state.c,v 1.3 1996/03/28 23:21:59 niklas Exp $ */
+/* $OpenBSD: state.c,v 1.4 1996/08/16 23:32:44 deraadt 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.3 1996/03/28 23:21:59 niklas Exp $";
+static char rcsid[] = "$OpenBSD: state.c,v 1.4 1996/08/16 23:32:44 deraadt Exp $";
#endif
#endif /* not lint */
@@ -1065,6 +1065,7 @@ envvarok(varp)
return (strncmp(varp, "LD_", strlen("LD_")) &&
strncmp(varp, "_RLD_", strlen("_RLD_")) &&
strcmp(varp, "LIBPATH") &&
+ strcmp(varp, "ENV") &&
strcmp(varp, "IFS"));
}