projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f43280
)
wget: remove strange *&var construct.
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 27 Jun 2009 23:23:35 +0000
(
01:23
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 27 Jun 2009 23:23:35 +0000
(
01:23
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 5e387891a4c4c5a0a834a1b64ed01ff07e1f6c94..f826d1a8b48efcec7eac0ec54037a576c9e2b72a 100644
(file)
--- 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) {