summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-27 23:23:35 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-06-27 23:23:35 (GMT)
commitab0c8d7b35fbbe3e038800587cde0e3a99907187 (patch)
tree6fe8233d870a100494ba95bfe4e05a6d796ac9ca
parent7f4328042078f45c592d3f4c0e726a77643fd1c6 (diff)
downloadbusybox-ab0c8d7b35fbbe3e038800587cde0e3a99907187.tar.gz
busybox-ab0c8d7b35fbbe3e038800587cde0e3a99907187.tar.bz2
wget: remove strange *&var construct.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/wget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 5e38789..f826d1a 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -840,7 +840,7 @@ However, in real world it was observed that some web servers
*/
while ((str = gethdr(buf, sizeof(buf), sfp /*, &n*/)) != NULL) {
/* gethdr converted "FOO:" string to lowercase */
- smalluint key = index_in_strings(keywords, *&buf) + 1;
+ smalluint key = index_in_strings(keywords, buf) + 1;
if (key == KEY_content_length) {
content_len = BB_STRTOOFF(str, NULL, 10);
if (errno || content_len < 0) {