]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: wget: drop Content-Length processing
authorJerome Forissier <jerome.forissier@linaro.org>
Tue, 5 Nov 2024 11:08:49 +0000 (12:08 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 01:08:57 +0000 (19:08 -0600)
commit385af1b898af7c36db9f2a00341e9ada0d365132
tree484fcf59f0a98e844a8ebbb9fb37bf2f93777774
parent867e16ae05e2c15a39b271a5cb182c733da081e3
net: wget: drop Content-Length processing

We don't do anything with Content-Length except a debug print, and the
strict_strtoul() call is incorrect (it always returns -EINVAL and leaves
content_length to zero due to the presence of trailing characters after
the decimal valuoe of Content-Length). So let's just drop this piece of
code.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
net/wget.c