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
b2cb6b3e
Commit
b2cb6b3e
authored
May 13, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Make sure we pass strictly 0/1 to a helper as BOOL value.
parent
f920dfd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
http.c
dlls/wininet/http.c
+2
-2
No files found.
dlls/wininet/http.c
View file @
b2cb6b3e
...
...
@@ -3565,7 +3565,7 @@ static DWORD HTTP_HttpQueryInfoW(http_request_t *request, DWORD dwInfoLevel,
LPVOID
lpBuffer
,
LPDWORD
lpdwBufferLength
,
LPDWORD
lpdwIndex
)
{
LPHTTPHEADERW
lphttpHdr
=
NULL
;
BOOL
request_only
=
dwInfoLevel
&
HTTP_QUERY_FLAG_REQUEST_HEADERS
;
BOOL
request_only
=
!!
(
dwInfoLevel
&
HTTP_QUERY_FLAG_REQUEST_HEADERS
)
;
INT
requested_index
=
lpdwIndex
?
*
lpdwIndex
:
0
;
DWORD
level
=
(
dwInfoLevel
&
~
HTTP_QUERY_MODIFIER_FLAGS_MASK
);
INT
index
=
-
1
;
...
...
@@ -6102,7 +6102,7 @@ static DWORD HTTP_ProcessHeader(http_request_t *request, LPCWSTR field, LPCWSTR
{
LPHTTPHEADERW
lphttpHdr
=
NULL
;
INT
index
;
BOOL
request_only
=
dwModifier
&
HTTP_ADDHDR_FLAG_REQ
;
BOOL
request_only
=
!!
(
dwModifier
&
HTTP_ADDHDR_FLAG_REQ
)
;
DWORD
res
=
ERROR_HTTP_INVALID_HEADER
;
TRACE
(
"--> %s: %s - 0x%08x
\n
"
,
debugstr_w
(
field
),
debugstr_w
(
value
),
dwModifier
);
...
...
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