André Hentschel : winhttp: Port numbers are unsigned ( more).
Alexandre Julliard
julliard at winehq.org
Tue Mar 29 11:43:03 CDT 2011
Module: wine
Branch: master
Commit: 1c7d45c093b2981a9c31061fe00ee7aef1314fbd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c7d45c093b2981a9c31061fe00ee7aef1314fbd
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Mar 28 21:40:43 2011 +0200
winhttp: Port numbers are unsigned (more).
---
dlls/winhttp/url.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winhttp/url.c b/dlls/winhttp/url.c
index 09835b4..6ead33c 100644
--- a/dlls/winhttp/url.c
+++ b/dlls/winhttp/url.c
@@ -299,7 +299,7 @@ static DWORD comp_length( DWORD len, DWORD flags, WCHAR *comp )
static BOOL calc_length( URL_COMPONENTS *uc, DWORD flags, LPDWORD len )
{
- static const WCHAR formatW[] = {'%','d',0};
+ static const WCHAR formatW[] = {'%','u',0};
INTERNET_SCHEME scheme;
*len = 0;
@@ -360,7 +360,7 @@ static BOOL calc_length( URL_COMPONENTS *uc, DWORD flags, LPDWORD len )
*/
BOOL WINAPI WinHttpCreateUrl( LPURL_COMPONENTS uc, DWORD flags, LPWSTR url, LPDWORD required )
{
- static const WCHAR formatW[] = {'%','d',0};
+ static const WCHAR formatW[] = {'%','u',0};
static const WCHAR twoslashW[] = {'/','/'};
DWORD len;
More information about the wine-cvs
mailing list