From 71ddadfcfb15d5f478c8a316fad579a9f997248c Mon Sep 17 00:00:00 2001 From: pstef <3462925+pstef@users.noreply.github.com> Date: Wed, 2 Apr 2025 21:32:11 +0000 Subject: [PATCH] Fix crash in net_http_resolve() in single-thread mode Pass the right object to the resolving function --- libretro-common/net/net_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/net/net_http.c b/libretro-common/net/net_http.c index d64aaeb2e3..c0332a18c6 100644 --- a/libretro-common/net/net_http.c +++ b/libretro-common/net/net_http.c @@ -948,7 +948,7 @@ static bool net_http_new_socket(struct http_t *state) thread = sthread_create(net_http_resolve, entry); sthread_detach(thread); #else - net_http_resolve(state); + net_http_resolve(entry); #endif }