Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cd2c4585
Commit
cd2c4585
authored
Oct 05, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Win64 printf format warning fixes.
parent
de3b5be3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
44 additions
and
44 deletions
+44
-44
Makefile.in
dlls/wininet/Makefile.in
+1
-1
cookie.c
dlls/wininet/cookie.c
+6
-6
dialogs.c
dlls/wininet/dialogs.c
+3
-3
ftp.c
dlls/wininet/ftp.c
+14
-14
http.c
dlls/wininet/http.c
+16
-16
internet.c
dlls/wininet/internet.c
+0
-0
netconnection.c
dlls/wininet/netconnection.c
+2
-2
urlcache.c
dlls/wininet/urlcache.c
+0
-0
utility.c
dlls/wininet/utility.c
+2
-2
No files found.
dlls/wininet/Makefile.in
View file @
cd2c4585
EXTRADEFS
=
-D_WINX32_
-DWINE_NO_LONG_AS_INT
EXTRADEFS
=
-D_WINX32_
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
...
...
dlls/wininet/cookie.c
View file @
cd2c4585
...
...
@@ -519,7 +519,7 @@ BOOL WINAPI InternetSetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName,
DWORD
WINAPI
InternetSetCookieExA
(
LPCSTR
lpszURL
,
LPCSTR
lpszCookieName
,
LPCSTR
lpszCookieData
,
DWORD
dwFlags
,
DWORD_PTR
dwReserved
)
{
FIXME
(
"(%s, %s, %s, 0x%08
l
x, 0x%08lx) stub
\n
"
,
FIXME
(
"(%s, %s, %s, 0x%08x, 0x%08lx) stub
\n
"
,
debugstr_a
(
lpszURL
),
debugstr_a
(
lpszCookieName
),
debugstr_a
(
lpszCookieData
),
dwFlags
,
dwReserved
);
return
TRUE
;
...
...
@@ -538,7 +538,7 @@ DWORD WINAPI InternetSetCookieExA( LPCSTR lpszURL, LPCSTR lpszCookieName, LPCSTR
DWORD
WINAPI
InternetSetCookieExW
(
LPCWSTR
lpszURL
,
LPCWSTR
lpszCookieName
,
LPCWSTR
lpszCookieData
,
DWORD
dwFlags
,
DWORD_PTR
dwReserved
)
{
FIXME
(
"(%s, %s, %s, 0x%08
l
x, 0x%08lx) stub
\n
"
,
FIXME
(
"(%s, %s, %s, 0x%08x, 0x%08lx) stub
\n
"
,
debugstr_w
(
lpszURL
),
debugstr_w
(
lpszCookieName
),
debugstr_w
(
lpszCookieData
),
dwFlags
,
dwReserved
);
return
TRUE
;
...
...
@@ -552,7 +552,7 @@ DWORD WINAPI InternetSetCookieExW( LPCWSTR lpszURL, LPCWSTR lpszCookieName, LPCW
BOOL
WINAPI
InternetGetCookieExA
(
LPCSTR
pchURL
,
LPCSTR
pchCookieName
,
LPSTR
pchCookieData
,
LPDWORD
pcchCookieData
,
DWORD
dwFlags
,
LPVOID
lpReserved
)
{
FIXME
(
"(%s, %s, %s, %p, 0x%08
l
x, %p) stub
\n
"
,
FIXME
(
"(%s, %s, %s, %p, 0x%08x, %p) stub
\n
"
,
debugstr_a
(
pchURL
),
debugstr_a
(
pchCookieName
),
debugstr_a
(
pchCookieData
),
pcchCookieData
,
dwFlags
,
lpReserved
);
return
FALSE
;
...
...
@@ -571,7 +571,7 @@ BOOL WINAPI InternetGetCookieExA( LPCSTR pchURL, LPCSTR pchCookieName, LPSTR pch
BOOL
WINAPI
InternetGetCookieExW
(
LPCWSTR
pchURL
,
LPCWSTR
pchCookieName
,
LPWSTR
pchCookieData
,
LPDWORD
pcchCookieData
,
DWORD
dwFlags
,
LPVOID
lpReserved
)
{
FIXME
(
"(%s, %s, %s, %p, 0x%08
l
x, %p) stub
\n
"
,
FIXME
(
"(%s, %s, %s, %p, 0x%08x, %p) stub
\n
"
,
debugstr_w
(
pchURL
),
debugstr_w
(
pchCookieName
),
debugstr_w
(
pchCookieData
),
pcchCookieData
,
dwFlags
,
lpReserved
);
return
FALSE
;
...
...
@@ -647,7 +647,7 @@ BOOL WINAPI InternetGetPerSiteCookieDecisionW( LPCWSTR pwchHostName, unsigned lo
*/
BOOL
WINAPI
InternetSetPerSiteCookieDecisionA
(
LPCSTR
pchHostName
,
DWORD
dwDecision
)
{
FIXME
(
"(%s, 0x%08
l
x) stub
\n
"
,
debugstr_a
(
pchHostName
),
dwDecision
);
FIXME
(
"(%s, 0x%08x) stub
\n
"
,
debugstr_a
(
pchHostName
),
dwDecision
);
return
FALSE
;
}
...
...
@@ -656,6 +656,6 @@ BOOL WINAPI InternetSetPerSiteCookieDecisionA( LPCSTR pchHostName, DWORD dwDecis
*/
BOOL
WINAPI
InternetSetPerSiteCookieDecisionW
(
LPCWSTR
pchHostName
,
DWORD
dwDecision
)
{
FIXME
(
"(%s, 0x%08
l
x) stub
\n
"
,
debugstr_w
(
pchHostName
),
dwDecision
);
FIXME
(
"(%s, 0x%08x) stub
\n
"
,
debugstr_w
(
pchHostName
),
dwDecision
);
return
FALSE
;
}
dlls/wininet/dialogs.c
View file @
cd2c4585
...
...
@@ -336,7 +336,7 @@ static INT WININET_GetConnectionStatus( HINTERNET hRequest )
return
-
1
;
dwStatus
=
atoiW
(
szStatus
);
TRACE
(
"request %p status = %
l
d
\n
"
,
hRequest
,
dwStatus
);
TRACE
(
"request %p status = %d
\n
"
,
hRequest
,
dwStatus
);
return
dwStatus
;
}
...
...
@@ -352,7 +352,7 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
HMODULE
hwininet
=
GetModuleHandleA
(
"wininet.dll"
);
INT
dwStatus
;
TRACE
(
"%p %p %
ld %08l
x %p
\n
"
,
hWnd
,
hRequest
,
dwError
,
dwFlags
,
lppvData
);
TRACE
(
"%p %p %
d %08
x %p
\n
"
,
hWnd
,
hRequest
,
dwError
,
dwFlags
,
lppvData
);
params
.
hWnd
=
hWnd
;
params
.
hRequest
=
hRequest
;
...
...
@@ -380,7 +380,7 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
case
ERROR_INTERNET_POST_IS_NON_SECURE
:
case
ERROR_INTERNET_SEC_CERT_CN_INVALID
:
case
ERROR_INTERNET_SEC_CERT_DATE_INVALID
:
FIXME
(
"Need to display dialog for error %
l
d
\n
"
,
dwError
);
FIXME
(
"Need to display dialog for error %d
\n
"
,
dwError
);
return
ERROR_SUCCESS
;
}
return
ERROR_INVALID_PARAMETER
;
...
...
dlls/wininet/ftp.c
View file @
cd2c4585
...
...
@@ -791,7 +791,7 @@ BOOL WINAPI FtpGetCurrentDirectoryW(HINTERNET hFtpSession, LPWSTR lpszCurrentDir
LPWININETAPPINFOW
hIC
=
NULL
;
BOOL
r
=
FALSE
;
TRACE
(
"len(%
l
d)
\n
"
,
*
lpdwCurrentDirectory
);
TRACE
(
"len(%d)
\n
"
,
*
lpdwCurrentDirectory
);
lpwfs
=
(
LPWININETFTPSESSIONW
)
WININET_GetObject
(
hFtpSession
);
if
(
NULL
==
lpwfs
||
WH_HFTPSESSION
!=
lpwfs
->
hdr
.
htype
)
...
...
@@ -845,7 +845,7 @@ BOOL WINAPI FTP_FtpGetCurrentDirectoryW(LPWININETFTPSESSIONW lpwfs, LPWSTR lpszC
LPWININETAPPINFOW
hIC
=
NULL
;
DWORD
bSuccess
=
FALSE
;
TRACE
(
"len(%
l
d)
\n
"
,
*
lpdwCurrentDirectory
);
TRACE
(
"len(%d)
\n
"
,
*
lpdwCurrentDirectory
);
if
(
NULL
==
lpwfs
||
WH_HFTPSESSION
!=
lpwfs
->
hdr
.
htype
)
{
...
...
@@ -948,7 +948,7 @@ HINTERNET WINAPI FtpOpenFileW(HINTERNET hFtpSession,
LPWININETAPPINFOW
hIC
=
NULL
;
HINTERNET
r
=
NULL
;
TRACE
(
"(%p,%s,0x%08
lx,0x%08lx,0x%08l
x)
\n
"
,
hFtpSession
,
TRACE
(
"(%p,%s,0x%08
x,0x%08x,0x%08
x)
\n
"
,
hFtpSession
,
debugstr_w
(
lpszFileName
),
fdwAccess
,
dwFlags
,
dwContext
);
lpwfs
=
(
LPWININETFTPSESSIONW
)
WININET_GetObject
(
hFtpSession
);
...
...
@@ -1638,7 +1638,7 @@ lend:
BOOL
WINAPI
FtpCommandA
(
HINTERNET
hConnect
,
BOOL
fExpectResponse
,
DWORD
dwFlags
,
LPCSTR
lpszCommand
,
DWORD_PTR
dwContext
,
HINTERNET
*
phFtpCommand
)
{
FIXME
(
"%p %d 0x%08
l
x %s 0x%08lx %p
\n
"
,
hConnect
,
fExpectResponse
,
dwFlags
,
FIXME
(
"%p %d 0x%08x %s 0x%08lx %p
\n
"
,
hConnect
,
fExpectResponse
,
dwFlags
,
debugstr_a
(
lpszCommand
),
dwContext
,
phFtpCommand
);
return
TRUE
;
...
...
@@ -1650,7 +1650,7 @@ BOOL WINAPI FtpCommandA( HINTERNET hConnect, BOOL fExpectResponse, DWORD dwFlags
BOOL
WINAPI
FtpCommandW
(
HINTERNET
hConnect
,
BOOL
fExpectResponse
,
DWORD
dwFlags
,
LPCWSTR
lpszCommand
,
DWORD_PTR
dwContext
,
HINTERNET
*
phFtpCommand
)
{
FIXME
(
"%p %d 0x%08
l
x %s 0x%08lx %p
\n
"
,
hConnect
,
fExpectResponse
,
dwFlags
,
FIXME
(
"%p %d 0x%08x %s 0x%08lx %p
\n
"
,
hConnect
,
fExpectResponse
,
dwFlags
,
debugstr_w
(
lpszCommand
),
dwContext
,
phFtpCommand
);
return
TRUE
;
...
...
@@ -1938,7 +1938,7 @@ static BOOL FTP_SendCommandA(INT nSocket, FTP_COMMAND ftpCmd, LPCSTR lpszParam,
sprintf
(
buf
,
"%s%s%s%s"
,
szFtpCommands
[
ftpCmd
],
dwParamLen
?
" "
:
""
,
dwParamLen
?
lpszParam
:
""
,
szCRLF
);
TRACE
(
"Sending (%s) len(%
l
d)
\n
"
,
buf
,
len
);
TRACE
(
"Sending (%s) len(%d)
\n
"
,
buf
,
len
);
while
((
nBytesSent
<
len
)
&&
(
nRC
!=
-
1
))
{
nRC
=
send
(
nSocket
,
buf
+
nBytesSent
,
len
-
nBytesSent
,
0
);
...
...
@@ -1958,7 +1958,7 @@ static BOOL FTP_SendCommandA(INT nSocket, FTP_COMMAND ftpCmd, LPCSTR lpszParam,
}
}
TRACE
(
"Sent %
l
d bytes
\n
"
,
nBytesSent
);
TRACE
(
"Sent %d bytes
\n
"
,
nBytesSent
);
return
(
nRC
!=
-
1
);
}
...
...
@@ -2546,13 +2546,13 @@ static BOOL FTP_SendData(LPWININETFTPSESSIONW lpwfs, INT nDataSocket, HANDLE hFi
nSeconds
=
e_long_time
-
s_long_time
;
if
(
nSeconds
/
60
>
0
)
{
TRACE
(
"%
ld bytes of %ld bytes (%ld%%) in %ld min %ld sec estimated remaining time %l
d sec
\n
"
,
TRACE
(
"%
d bytes of %d bytes (%d%%) in %d min %d sec estimated remaining time %
d sec
\n
"
,
nTotalSent
,
fi
.
nFileSizeLow
,
nTotalSent
*
100
/
fi
.
nFileSizeLow
,
nSeconds
/
60
,
nSeconds
%
60
,
(
fi
.
nFileSizeLow
-
nTotalSent
)
*
nSeconds
/
nTotalSent
);
}
else
{
TRACE
(
"%
ld bytes of %ld bytes (%ld%%) in %ld sec estimated remaining time %l
d sec
\n
"
,
TRACE
(
"%
d bytes of %d bytes (%d%%) in %d sec estimated remaining time %
d sec
\n
"
,
nTotalSent
,
fi
.
nFileSizeLow
,
nTotalSent
*
100
/
fi
.
nFileSizeLow
,
nSeconds
,
(
fi
.
nFileSizeLow
-
nTotalSent
)
*
nSeconds
/
nTotalSent
);
}
...
...
@@ -2594,7 +2594,7 @@ static DWORD FTP_SendRetrieve(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszRemoteFile
if
(
!
FTP_GetFileSize
(
lpwfs
,
lpszRemoteFile
,
&
nResult
))
goto
lend
;
TRACE
(
"Waiting to receive %
l
d bytes
\n
"
,
nResult
);
TRACE
(
"Waiting to receive %d bytes
\n
"
,
nResult
);
if
(
!
FTP_SendCommand
(
lpwfs
->
sndSocket
,
FTP_CMD_RETR
,
lpszRemoteFile
,
0
,
0
,
0
))
goto
lend
;
...
...
@@ -2657,7 +2657,7 @@ static BOOL FTP_RetrieveFileData(LPWININETFTPSESSIONW lpwfs, INT nDataSocket, DW
nBytesReceived
+=
nRC
;
}
TRACE
(
"%
ld bytes of %ld (%l
d%%)
\r
"
,
nBytesReceived
,
nBytes
,
TRACE
(
"%
d bytes of %d (%
d%%)
\r
"
,
nBytesReceived
,
nBytes
,
nBytesReceived
*
100
/
nBytes
);
}
...
...
@@ -2775,7 +2775,7 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
LPWININETFINDNEXTW
lpwfn
=
NULL
;
HINTERNET
handle
=
0
;
TRACE
(
"(%p,%d,%s,%p,%
l
d)
\n
"
,
lpwfs
,
nSocket
,
debugstr_w
(
lpszSearchFile
),
lpFindFileData
,
dwContext
);
TRACE
(
"(%p,%d,%s,%p,%d)
\n
"
,
lpwfs
,
nSocket
,
debugstr_w
(
lpszSearchFile
),
lpFindFileData
,
dwContext
);
if
(
FTP_ParseDirectory
(
lpwfs
,
nSocket
,
lpszSearchFile
,
&
lpafp
,
&
dwSize
))
{
...
...
@@ -2802,7 +2802,7 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
if
(
lpwfn
)
WININET_Release
(
&
lpwfn
->
hdr
);
TRACE
(
"Matched %
l
d files
\n
"
,
dwSize
);
TRACE
(
"Matched %d files
\n
"
,
dwSize
);
return
handle
;
}
...
...
@@ -2984,7 +2984,7 @@ static BOOL FTP_ParseNextFile(INT nSocket, LPCWSTR lpszSearchFile, LPFILEPROPERT
else
{
lpfp
->
bIsDirectory
=
FALSE
;
lpfp
->
nSize
=
atol
(
pszToken
);
TRACE
(
"Size: %
l
d
\n
"
,
lpfp
->
nSize
);
TRACE
(
"Size: %d
\n
"
,
lpfp
->
nSize
);
}
pszToken
=
strtok
(
NULL
,
szSpace
);
...
...
dlls/wininet/http.c
View file @
cd2c4585
...
...
@@ -460,7 +460,7 @@ BOOL WINAPI HttpAddRequestHeadersW(HINTERNET hHttpRequest,
BOOL
bSuccess
=
FALSE
;
LPWININETHTTPREQW
lpwhr
;
TRACE
(
"%p, %s, %
li, %l
i
\n
"
,
hHttpRequest
,
debugstr_w
(
lpszHeader
),
dwHeaderLength
,
TRACE
(
"%p, %s, %
i, %
i
\n
"
,
hHttpRequest
,
debugstr_w
(
lpszHeader
),
dwHeaderLength
,
dwModifier
);
if
(
!
lpszHeader
)
...
...
@@ -497,7 +497,7 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest,
LPWSTR
hdr
;
BOOL
r
;
TRACE
(
"%p, %s, %
li, %l
i
\n
"
,
hHttpRequest
,
debugstr_a
(
lpszHeader
),
dwHeaderLength
,
TRACE
(
"%p, %s, %
i, %
i
\n
"
,
hHttpRequest
,
debugstr_a
(
lpszHeader
),
dwHeaderLength
,
dwModifier
);
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
lpszHeader
,
dwHeaderLength
,
NULL
,
0
);
...
...
@@ -530,7 +530,7 @@ BOOL WINAPI HttpEndRequestA(HINTERNET hRequest,
LPINTERNET_BUFFERSW
lpBuffersOutW
,
ptrW
;
BOOL
rc
=
FALSE
;
TRACE
(
"(%p, %p, %08
lx, %08l
x): stub
\n
"
,
hRequest
,
lpBuffersOut
,
dwFlags
,
TRACE
(
"(%p, %p, %08
x, %08
x): stub
\n
"
,
hRequest
,
lpBuffersOut
,
dwFlags
,
dwContext
);
ptr
=
lpBuffersOut
;
...
...
@@ -663,7 +663,7 @@ HINTERNET WINAPI HttpOpenRequestW(HINTERNET hHttpSession,
LPWININETHTTPSESSIONW
lpwhs
;
HINTERNET
handle
=
NULL
;
TRACE
(
"(%p, %s, %s, %s, %s, %p, %08
lx, %08l
x)
\n
"
,
hHttpSession
,
TRACE
(
"(%p, %s, %s, %s, %s, %p, %08
x, %08
x)
\n
"
,
hHttpSession
,
debugstr_w
(
lpszVerb
),
debugstr_w
(
lpszObjectName
),
debugstr_w
(
lpszVersion
),
debugstr_w
(
lpszReferrer
),
lpszAcceptTypes
,
dwFlags
,
dwContext
);
...
...
@@ -719,7 +719,7 @@ HINTERNET WINAPI HttpOpenRequestA(HINTERNET hHttpSession,
INT
len
;
INT
acceptTypesCount
;
HINTERNET
rc
=
FALSE
;
TRACE
(
"(%p, %s, %s, %s, %s, %p, %08
lx, %08l
x)
\n
"
,
hHttpSession
,
TRACE
(
"(%p, %s, %s, %s, %s, %p, %08
x, %08
x)
\n
"
,
hHttpSession
,
debugstr_a
(
lpszVerb
),
debugstr_a
(
lpszObjectName
),
debugstr_a
(
lpszVersion
),
debugstr_a
(
lpszReferrer
),
lpszAcceptTypes
,
dwFlags
,
dwContext
);
...
...
@@ -1035,7 +1035,7 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
URL_ESCAPE_SPACES_ONLY
);
if
(
rc
)
{
ERR
(
"Unable to escape string!(%s) (%
l
d)
\n
"
,
debugstr_w
(
lpszObjectName
),
rc
);
ERR
(
"Unable to escape string!(%s) (%d)
\n
"
,
debugstr_w
(
lpszObjectName
),
rc
);
strcpyW
(
lpwhr
->
lpszPath
,
lpszObjectName
);
}
}
...
...
@@ -1577,7 +1577,7 @@ BOOL WINAPI HttpQueryInfoW(HINTERNET hHttpRequest, DWORD dwInfoLevel,
DWORD
info
=
dwInfoLevel
&
HTTP_QUERY_HEADER_MASK
;
DWORD
i
;
TRACE
(
"(%p, 0x%08
lx)--> %l
d
\n
"
,
hHttpRequest
,
dwInfoLevel
,
dwInfoLevel
);
TRACE
(
"(%p, 0x%08
x)--> %
d
\n
"
,
hHttpRequest
,
dwInfoLevel
,
dwInfoLevel
);
TRACE
(
" Attribute:"
);
for
(
i
=
0
;
i
<
(
sizeof
(
query_flags
)
/
sizeof
(
query_flags
[
0
]));
i
++
)
{
if
(
query_flags
[
i
].
val
==
info
)
{
...
...
@@ -1586,7 +1586,7 @@ BOOL WINAPI HttpQueryInfoW(HINTERNET hHttpRequest, DWORD dwInfoLevel,
}
}
if
(
i
==
(
sizeof
(
query_flags
)
/
sizeof
(
query_flags
[
0
])))
{
TRACE
(
" Unknown (%08
l
x)"
,
info
);
TRACE
(
" Unknown (%08x)"
,
info
);
}
TRACE
(
" Modifier:"
);
...
...
@@ -1598,7 +1598,7 @@ BOOL WINAPI HttpQueryInfoW(HINTERNET hHttpRequest, DWORD dwInfoLevel,
}
if
(
info_mod
)
{
TRACE
(
" Unknown (%08
l
x)"
,
info_mod
);
TRACE
(
" Unknown (%08x)"
,
info_mod
);
}
TRACE
(
"
\n
"
);
}
...
...
@@ -1690,7 +1690,7 @@ BOOL WINAPI HttpSendRequestExA(HINTERNET hRequest,
BOOL
rc
=
FALSE
;
DWORD
headerlen
;
TRACE
(
"(%p, %p, %p, %08
lx, %08l
x): stub
\n
"
,
hRequest
,
lpBuffersIn
,
TRACE
(
"(%p, %p, %p, %08
x, %08
x): stub
\n
"
,
hRequest
,
lpBuffersIn
,
lpBuffersOut
,
dwFlags
,
dwContext
);
if
(
lpBuffersIn
)
...
...
@@ -1748,7 +1748,7 @@ BOOL WINAPI HttpSendRequestExW(HINTERNET hRequest,
LPWININETHTTPSESSIONW
lpwhs
;
LPWININETAPPINFOW
hIC
;
TRACE
(
"(%p, %p, %p, %08
lx, %08l
x)
\n
"
,
hRequest
,
lpBuffersIn
,
TRACE
(
"(%p, %p, %p, %08
x, %08
x)
\n
"
,
hRequest
,
lpBuffersIn
,
lpBuffersOut
,
dwFlags
,
dwContext
);
lpwhr
=
(
LPWININETHTTPREQW
)
WININET_GetObject
(
hRequest
);
...
...
@@ -1832,7 +1832,7 @@ BOOL WINAPI HttpSendRequestW(HINTERNET hHttpRequest, LPCWSTR lpszHeaders,
LPWININETAPPINFOW
hIC
=
NULL
;
BOOL
r
;
TRACE
(
"%p, %p (%s), %
li, %p, %l
i)
\n
"
,
hHttpRequest
,
TRACE
(
"%p, %p (%s), %
i, %p, %
i)
\n
"
,
hHttpRequest
,
lpszHeaders
,
debugstr_w
(
lpszHeaders
),
dwHeaderLength
,
lpOptional
,
dwOptionalLength
);
lpwhr
=
(
LPWININETHTTPREQW
)
WININET_GetObject
(
hHttpRequest
);
...
...
@@ -2129,7 +2129,7 @@ static BOOL HTTP_HandleRedirect(LPWININETHTTPREQW lpwhr, LPCWSTR lpszUrl, LPCWST
URL_ESCAPE_SPACES_ONLY
);
if
(
rc
)
{
ERR
(
"Unable to escape string!(%s) (%
l
d)
\n
"
,
debugstr_w
(
path
),
rc
);
ERR
(
"Unable to escape string!(%s) (%d)
\n
"
,
debugstr_w
(
path
),
rc
);
strcpyW
(
lpwhr
->
lpszPath
,
path
);
}
}
...
...
@@ -2780,7 +2780,7 @@ static BOOL HTTP_ProcessHeader(LPWININETHTTPREQW lpwhr, LPCWSTR field, LPCWSTR v
static
const
WCHAR
szConnection
[]
=
{
'C'
,
'o'
,
'n'
,
'n'
,
'e'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
BOOL
request_only
=
dwModifier
&
HTTP_ADDHDR_FLAG_REQ
;
TRACE
(
"--> %s: %s - 0x%08
l
x
\n
"
,
debugstr_w
(
field
),
debugstr_w
(
value
),
dwModifier
);
TRACE
(
"--> %s: %s - 0x%08x
\n
"
,
debugstr_w
(
field
),
debugstr_w
(
value
),
dwModifier
);
/* Don't let applications add Connection header to request */
if
(
strcmpW
(
szConnection
,
field
)
==
0
&&
(
dwModifier
&
HTTP_ADDHDR_FLAG_REQ
))
...
...
@@ -3006,7 +3006,7 @@ static INT HTTP_GetCustomHeaderIndex(LPWININETHTTPREQW lpwhr, LPCWSTR lpszField,
if
(
index
>=
lpwhr
->
nCustHeaders
)
index
=
-
1
;
TRACE
(
"Return: %
l
d
\n
"
,
index
);
TRACE
(
"Return: %d
\n
"
,
index
);
return
index
;
}
...
...
@@ -3078,6 +3078,6 @@ static BOOL HTTP_DeleteCustomHeader(LPWININETHTTPREQW lpwhr, DWORD index)
*/
BOOL
WINAPI
IsHostInProxyBypassList
(
DWORD
flags
,
LPCSTR
szHost
,
DWORD
length
)
{
FIXME
(
"STUB: flags=%
ld host=%s length=%l
d
\n
"
,
flags
,
szHost
,
length
);
FIXME
(
"STUB: flags=%
d host=%s length=%
d
\n
"
,
flags
,
szHost
,
length
);
return
FALSE
;
}
dlls/wininet/internet.c
View file @
cd2c4585
This diff is collapsed.
Click to expand it.
dlls/wininet/netconnection.c
View file @
cd2c4585
...
...
@@ -624,7 +624,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD
{
lpszBuffer
[
nRecv
++
]
=
'\0'
;
*
dwBuffer
=
nRecv
;
TRACE
(
":%
l
u %s
\n
"
,
nRecv
,
lpszBuffer
);
TRACE
(
":%u %s
\n
"
,
nRecv
,
lpszBuffer
);
return
TRUE
;
}
else
...
...
@@ -665,7 +665,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD
{
lpszBuffer
[
nRecv
++
]
=
'\0'
;
*
dwBuffer
=
nRecv
;
TRACE
(
"_SSL:%
l
u %s
\n
"
,
nRecv
,
lpszBuffer
);
TRACE
(
"_SSL:%u %s
\n
"
,
nRecv
,
lpszBuffer
);
return
TRUE
;
}
return
FALSE
;
...
...
dlls/wininet/urlcache.c
View file @
cd2c4585
This diff is collapsed.
Click to expand it.
dlls/wininet/utility.c
View file @
cd2c4585
...
...
@@ -248,7 +248,7 @@ VOID INTERNET_SendCallback(LPWININETHANDLEHEADER hdr, DWORD dwContext,
}
}
TRACE
(
" callback(%p) (%p (%p), %08
lx, %ld (%s), %p, %l
d)
\n
"
,
TRACE
(
" callback(%p) (%p (%p), %08
x, %d (%s), %p, %
d)
\n
"
,
hdr
->
lpfnStatusCB
,
hHttpSession
,
hdr
,
dwContext
,
dwInternetStatus
,
get_callback_name
(
dwInternetStatus
),
lpvNewInfo
,
dwStatusInfoLength
);
...
...
@@ -269,7 +269,7 @@ VOID SendAsyncCallback(LPWININETHANDLEHEADER hdr, DWORD dwContext,
DWORD
dwInternetStatus
,
LPVOID
lpvStatusInfo
,
DWORD
dwStatusInfoLength
)
{
TRACE
(
"(%p, %08
lx, %ld (%s), %p, %l
d): %sasync call with callback %p
\n
"
,
TRACE
(
"(%p, %08
x, %d (%s), %p, %
d): %sasync call with callback %p
\n
"
,
hdr
,
dwContext
,
dwInternetStatus
,
get_callback_name
(
dwInternetStatus
),
lpvStatusInfo
,
dwStatusInfoLength
,
hdr
->
dwFlags
&
INTERNET_FLAG_ASYNC
?
""
:
"non "
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment