diff options
Diffstat (limited to 'src/appl/telnet/telnetd/telnetd.c')
-rw-r--r-- | src/appl/telnet/telnetd/telnetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c index dceaab7b3..54fc12a39 100644 --- a/src/appl/telnet/telnetd/telnetd.c +++ b/src/appl/telnet/telnetd/telnetd.c @@ -974,7 +974,7 @@ pty_init(); */ *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 |