André Hentschel : winhttp: Port numbers are unsigned.
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 14:22:00 CDT 2011
Module: wine
Branch: master
Commit: 1bf001cf0b4d536eafcbc4fccd2d8f481f74789f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1bf001cf0b4d536eafcbc4fccd2d8f481f74789f
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Mar 27 15:26:26 2011 +0200
winhttp: Port numbers are unsigned.
---
dlls/winhttp/request.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index f6fc577..2c3d534 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -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;
More information about the wine-cvs
mailing list