summaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-27 09:03:24 +0000
committerDenis Vlasenko2006-10-27 09:03:24 +0000
commit621204bbf6750f1ba3977b43bb35375ddda6b5ae (patch)
treecd34a619db35dccb76043c1bf118d297e17ac436 /networking/telnet.c
parentd3d004dd3507f841745956a035fff68936378f9c (diff)
downloadbusybox-621204bbf6750f1ba3977b43bb35375ddda6b5ae.zip
busybox-621204bbf6750f1ba3977b43bb35375ddda6b5ae.tar.gz
get_terminal_width_height: do not pass insanely large values
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 5b8c885..628e2e6 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -607,7 +607,7 @@ int telnet_main(int argc, char** argv)
#endif
#ifdef CONFIG_FEATURE_TELNET_TTYPE
- ttype = getenv("TERM");
+ ttype = getenv("TERM");
#endif
memset(&G, 0, sizeof G);