From 4774d00a9fa501467ed922a17f744bf6b6a76c34 Mon Sep 17 00:00:00 2001 From: "Moritz C. Weber" Date: Tue, 29 Mar 2022 13:10:00 +0000 Subject: [PATCH] Fix a segfault due to a wrong order global variables of wget --- 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 && (strncmp(TT.url, "https://", 8) == 0)) GLOBALS( - char *O; char *postdata; + char *O; long max_redirect; int sock; -- 2.39.2