mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 19:13:45 +00:00
Fix http_get_file
This commit is contained in:
parent
8d6e5811f2
commit
5e920393ac
@ -39,7 +39,7 @@ http_retcode http_get_file(char *url, char **buf, int *len)
|
||||
{
|
||||
char *urlfilename = NULL;
|
||||
|
||||
if (!http_parse_url(url, &urlfilename))
|
||||
if (http_parse_url(url, &urlfilename) != 0)
|
||||
return ERRRDDT;
|
||||
|
||||
return http_get(urlfilename, buf, len, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user