mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 15:40:14 +00:00
Style nits
This commit is contained in:
parent
fc821fc5b4
commit
ce1b86993b
@ -196,15 +196,16 @@ static bool rarch_task_http_finder(rarch_task_t *task, void *user_data)
|
|||||||
{
|
{
|
||||||
http_handle_t *http = (http_handle_t*)task->state;
|
http_handle_t *http = (http_handle_t*)task->state;
|
||||||
const char *handle_url = NULL;
|
const char *handle_url = NULL;
|
||||||
if (!http || !user_data || !task || task->handler != rarch_task_http_transfer_handler)
|
if ( !http || !user_data ||
|
||||||
|
!task || task->handler != rarch_task_http_transfer_handler)
|
||||||
return false;
|
return false;
|
||||||
if (!http->connection.handle)
|
if (!http->connection.handle)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
handle_url = net_http_connection_url(http->connection.handle);
|
handle_url = net_http_connection_url(http->connection.handle);
|
||||||
|
|
||||||
if (!handle_url)
|
if (!handle_url)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return string_is_equal(handle_url, (const char*)user_data);
|
return string_is_equal(handle_url, (const char*)user_data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user