diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-27 09:03:24 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-27 09:03:24 +0000 |
commit | 9bc0f50defc28a31a2d214e654ec48e2a1bcc897 (patch) | |
tree | cd34a619db35dccb76043c1bf118d297e17ac436 /networking/wget.c | |
parent | 8b039ac7df3ae06554165c79429b5d06240080c1 (diff) | |
download | busybox-w32-9bc0f50defc28a31a2d214e654ec48e2a1bcc897.tar.gz busybox-w32-9bc0f50defc28a31a2d214e654ec48e2a1bcc897.tar.bz2 busybox-w32-9bc0f50defc28a31a2d214e654ec48e2a1bcc897.zip |
get_terminal_width_height: do not pass insanely large values
git-svn-id: svn://busybox.net/trunk/busybox@16452 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index 425abc13f..c163209f2 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -676,7 +676,7 @@ getttywidth(void) | |||
676 | { | 676 | { |
677 | int width=0; | 677 | int width=0; |
678 | get_terminal_width_height(0, &width, NULL); | 678 | get_terminal_width_height(0, &width, NULL); |
679 | return (width); | 679 | return width; |
680 | } | 680 | } |
681 | 681 | ||
682 | static void | 682 | static void |