mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 03:40:50 +00:00
(runloop data) Do early return in rarch_main_data_http_iterate if http is NULL
This commit is contained in:
parent
0e85b11046
commit
067a9e46dd
@ -601,6 +601,9 @@ static void rarch_main_data_nbio_iterate(nbio_handle_t *nbio)
|
|||||||
static void rarch_main_data_http_iterate(http_handle_t *http)
|
static void rarch_main_data_http_iterate(http_handle_t *http)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
|
if (!http)
|
||||||
|
return;
|
||||||
|
|
||||||
if (http->connection.handle)
|
if (http->connection.handle)
|
||||||
{
|
{
|
||||||
if (!rarch_main_data_http_con_iterate_transfer())
|
if (!rarch_main_data_http_con_iterate_transfer())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user