Fix crash in net_http_resolve() in single-thread mode

Pass the right object to the resolving function
This commit is contained in:
pstef 2025-04-02 21:32:11 +00:00
parent d1a53e7d05
commit 71ddadfcfb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}