Core: HttpRequest: Fixed parsing of Proxy() argument

git-svn-id: svn://ultimatepp.org/upp/trunk@5576 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-11-22 09:09:12 +00:00
parent f6a7458f04
commit faf29a8166

View file

@ -78,7 +78,7 @@ HttpRequest& HttpRequest::Url(const char *u)
}
static
void sParseProxyUrl(const char *p, String& proxy_host, int proxy_port)
void sParseProxyUrl(const char *p, String& proxy_host, int& proxy_port)
{
const char *t = p;
while(*p && *p != ':')