summaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-26 15:59:37 +0000
committerDenis Vlasenko2007-06-26 15:59:37 +0000
commite8240f19bd99802e0ccb1738b2d2e630b6eb9087 (patch)
treed9b7c5da8a146e809140d0c8c9e270df765159f9 /networking/wget.c
parent1fc6238ffab2cbd09b9ce573b99d82f3eaeb5b77 (diff)
downloadbusybox-e8240f19bd99802e0ccb1738b2d2e630b6eb9087.zip
busybox-e8240f19bd99802e0ccb1738b2d2e630b6eb9087.tar.gz
uuencode: shrink
function old new delta uuencode_main 427 337 -90 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-90) Total: -90 bytes text data bss dec hex filename 734981 3028 14400 752409 b7b19 busybox_old 734889 3028 14400 752317 b7abd busybox_unstripped
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index ef27ab0..bd9480c 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -76,9 +76,9 @@ static char *safe_fgets(char *s, int size, FILE *stream)
#if ENABLE_FEATURE_WGET_AUTHENTICATION
/* Base64-encode character string and return the string. */
-static char *base64enc(unsigned char *p, char *buf, int len)
+static char *base64enc(const unsigned char *p, char *buf, int len)
{
- bb_uuencode(p, buf, len, bb_uuenc_tbl_base64);
+ bb_uuencode(buf, p, len, bb_uuenc_tbl_base64);
return buf;
}
#endif