diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-06 15:43:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-06 15:43:17 +0000 |
commit | 46611179112d69a53690a8ffd366a7d35915aeda (patch) | |
tree | e3a224fe619c892c7e33174cdb0e2a6f7039b9b0 /networking | |
parent | eea72123a36df9e93b55989ee9c77ba764e88485 (diff) |
bb_uuencode: fix obscure case where we were using data past last byte of source
(fixes testsuite failure)
bb_uuencode 154 160 +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 6/0) Total: 6 bytes
text data bss dec hex filename
770284 1096 11228 782608 bf110 busybox_old
770288 1096 11228 782612 bf114 busybox_unstripped
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index d944f0173..7b583c7ab 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -109,9 +109,9 @@ int wget_main(int argc, char **argv) FILE *sfp = NULL; /* socket to web/ftp server */ FILE *dfp = NULL; /* socket to ftp server (data) */ char *fname_out = NULL; /* where to direct output (-O) */ - bool got_clen = 0; /* got content-length: from server */ + bool got_clen = 0; /* got content-length: from server */ int output_fd = -1; - bool use_proxy = 1; /* Use proxies if env vars are set */ + bool use_proxy = 1; /* Use proxies if env vars are set */ const char *proxy_flag = "on"; /* Use proxies if env vars are set */ const char *user_agent = "Wget";/* "User-Agent" header field */ static const char keywords[] = |