diff options
-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 5e387891a..f826d1a8b 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -840,7 +840,7 @@ However, in real world it was observed that some web servers | |||
840 | */ | 840 | */ |
841 | while ((str = gethdr(buf, sizeof(buf), sfp /*, &n*/)) != NULL) { | 841 | while ((str = gethdr(buf, sizeof(buf), sfp /*, &n*/)) != NULL) { |
842 | /* gethdr converted "FOO:" string to lowercase */ | 842 | /* gethdr converted "FOO:" string to lowercase */ |
843 | smalluint key = index_in_strings(keywords, *&buf) + 1; | 843 | smalluint key = index_in_strings(keywords, buf) + 1; |
844 | if (key == KEY_content_length) { | 844 | if (key == KEY_content_length) { |
845 | content_len = BB_STRTOOFF(str, NULL, 10); | 845 | content_len = BB_STRTOOFF(str, NULL, 10); |
846 | if (errno || content_len < 0) { | 846 | if (errno || content_len < 0) { |