Remove int i in http_intf_command

This commit is contained in:
twinaphex 2014-12-20 22:13:42 +01:00
parent 1af76d7179
commit 1917602103

View File

@ -8,13 +8,10 @@ int http_intf_command(unsigned mode, char *url)
int ret, lg, blocksize, r;
char typebuf[70];
char *data=NULL, *filename = NULL, *proxy = NULL;
int i=1;
if (mode == HTTP_INTF_ERROR)
return -1;
i++;
#if 0
if ((proxy = getenv("http_proxy")))
{
@ -93,5 +90,5 @@ int http_intf_command(unsigned mode, char *url)
free(http_server);
if (proxy)
free(http_proxy_server);
return ( (ret==201) || (ret==200) ) ? 0 : ret;
return ( (ret == 201) || (ret == 200) ) ? 0 : ret;
}