winhttp: Port numbers are unsigned.
This commit is contained in:
parent
c7f7848026
commit
1bf001cf0b
|
@ -502,7 +502,7 @@ static WCHAR *build_request_path( request_t *request )
|
|||
sprintfW( ret, fmt, scheme, request->connect->hostname );
|
||||
if (request->connect->hostport)
|
||||
{
|
||||
static const WCHAR colonFmt[] = { ':','%','d',0 };
|
||||
static const WCHAR colonFmt[] = { ':','%','u',0 };
|
||||
|
||||
sprintfW( ret + strlenW( ret ), colonFmt,
|
||||
request->connect->hostport );
|
||||
|
@ -868,7 +868,7 @@ static BOOL read_reply( request_t *request );
|
|||
static BOOL secure_proxy_connect( request_t *request )
|
||||
{
|
||||
static const WCHAR verbConnect[] = {'C','O','N','N','E','C','T',0};
|
||||
static const WCHAR fmt[] = {'%','s',':','%','d',0};
|
||||
static const WCHAR fmt[] = {'%','s',':','%','u',0};
|
||||
BOOL ret = FALSE;
|
||||
LPWSTR path;
|
||||
connect_t *connect = request->connect;
|
||||
|
|
Loading…
Reference in New Issue