[Toybox] [PATCH 2/2] Replaced sizeof by strlen in wget POST

2022-03-29 Thread Moritz C. Weber
--- toys/pending/wget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/wget.c b/toys/pending/wget.c index 0bf6e5b8..9dd6560f 100644 --- a/toys/pending/wget.c +++ b/toys/pending/wget.c @@ -286,7 +286,7 @@ void wget_main(void) "User-Agent: %s\

[Toybox] [PATCH 2/2] Fix a segfault due to a wrong order global variables of wget

2022-03-29 Thread Moritz C. Weber
--- toys/pending/wget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/wget.c b/toys/pending/wget.c index de8a117f..03f98754 100644 --- a/toys/pending/wget.c +++ b/toys/pending/wget.c @@ -77,8 +77,8 @@ config WGET_OPENSSL #define WGET_IS_HTTPS (WGET_SSL && (strnc