(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…
Reference in New Issue