(fixes a bug that caused TERM to be set to "")
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10384
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jan 28 17:21:08 1998 Dan Winship <danw@mit.edu>
+
+ * telnetd.c (doit): additional fix for previous terminaltype change
+
Tue Jan 27 18:27:16 1998 Dan Winship <danw@mit.edu>
* telnetd.c (getterminaltype): Null-terminate strings and avoid a
*/
*user_name = 0;
level = getterminaltype(user_name);
- setenv("TERM", terminaltype ? terminaltype : "network", 1);
+ setenv("TERM", *terminaltype ? terminaltype : "network", 1);
/*
* Start up the login process on the slave side of the terminal