Re: [PATCH] net: lwip: wget: fix legacy syntax

2024-11-30 Thread Tom Rini
On Tue, 26 Nov 2024 15:45:06 +0100, Jerome Forissier wrote: > Commit 356011f7ac25 ("lwip: fix code style issues") has inadvertently > broken the support for the legacy syntax: > > => wget 192.168.0.16:test.bin > invalid uri, no file path > Invalid URL. Use http(s):// > > [...] Applied to u-b

[PATCH] net: lwip: wget: fix legacy syntax

2024-11-26 Thread Jerome Forissier
Commit 356011f7ac25 ("lwip: fix code style issues") has inadvertently broken the support for the legacy syntax: => wget 192.168.0.16:test.bin invalid uri, no file path Invalid URL. Use http(s):// The reason is two calls to strncpy() were replaced by strlcpy() without paying attention to the fa