mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Remove int i in http_intf_command
This commit is contained in:
parent
1af76d7179
commit
1917602103
@ -8,13 +8,10 @@ int http_intf_command(unsigned mode, char *url)
|
|||||||
int ret, lg, blocksize, r;
|
int ret, lg, blocksize, r;
|
||||||
char typebuf[70];
|
char typebuf[70];
|
||||||
char *data=NULL, *filename = NULL, *proxy = NULL;
|
char *data=NULL, *filename = NULL, *proxy = NULL;
|
||||||
int i=1;
|
|
||||||
|
|
||||||
if (mode == HTTP_INTF_ERROR)
|
if (mode == HTTP_INTF_ERROR)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
i++;
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if ((proxy = getenv("http_proxy")))
|
if ((proxy = getenv("http_proxy")))
|
||||||
{
|
{
|
||||||
@ -93,5 +90,5 @@ int http_intf_command(unsigned mode, char *url)
|
|||||||
free(http_server);
|
free(http_server);
|
||||||
if (proxy)
|
if (proxy)
|
||||||
free(http_proxy_server);
|
free(http_proxy_server);
|
||||||
return ( (ret==201) || (ret==200) ) ? 0 : ret;
|
return ( (ret == 201) || (ret == 200) ) ? 0 : ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user