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
5c654b48
Commit
5c654b48
authored
Jun 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Avoid useless InternetQueryOptionW call.
parent
bebcce32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
http.c
dlls/urlmon/http.c
+3
-8
No files found.
dlls/urlmon/http.c
View file @
5c654b48
...
...
@@ -79,18 +79,13 @@ static LPWSTR query_http_info(HttpProtocol *This, DWORD option)
return
ret
;
}
static
inline
BOOL
set_security_flag
(
HttpProtocol
*
This
,
DWORD
new_flag
)
static
inline
BOOL
set_security_flag
(
HttpProtocol
*
This
,
DWORD
flags
)
{
DWORD
flags
,
size
=
sizeof
(
flags
);
BOOL
res
;
res
=
InternetQueryOptionW
(
This
->
base
.
request
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
&
size
);
if
(
res
)
{
flags
|=
new_flag
;
res
=
InternetSetOptionW
(
This
->
base
.
request
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
size
);
}
res
=
InternetSetOptionW
(
This
->
base
.
request
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
sizeof
(
flags
));
if
(
!
res
)
ERR
(
"Failed to set security flag
(s): %x
\n
"
,
new_flag
);
ERR
(
"Failed to set security flag
s: %x
\n
"
,
flags
);
return
res
;
}
...
...
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