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
249f4562
Commit
249f4562
authored
Mar 09, 2011
by
Austin English
Committed by
Alexandre Julliard
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Avoid shadowing a parameter.
parent
b9cc7987
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
internet.c
dlls/wininet/internet.c
+9
-9
No files found.
dlls/wininet/internet.c
View file @
249f4562
...
...
@@ -2334,27 +2334,27 @@ DWORD INET_QueryOption(object_header_t *hdr, DWORD option, void *buffer, DWORD *
}
for
(
i
=
0
;
i
<
con
->
dwOptionCount
;
i
++
)
{
INTERNET_PER_CONN_OPTIONW
*
option
=
con
->
pOptions
+
i
;
INTERNET_PER_CONN_OPTIONW
*
option
W
=
con
->
pOptions
+
i
;
INTERNET_PER_CONN_OPTIONA
*
optionA
=
conA
->
pOptions
+
i
;
switch
(
option
->
dwOption
)
{
switch
(
option
W
->
dwOption
)
{
case
INTERNET_PER_CONN_FLAGS
:
if
(
pi
.
dwProxyEnabled
)
option
->
Value
.
dwValue
=
PROXY_TYPE_PROXY
;
option
W
->
Value
.
dwValue
=
PROXY_TYPE_PROXY
;
else
option
->
Value
.
dwValue
=
PROXY_TYPE_DIRECT
;
option
W
->
Value
.
dwValue
=
PROXY_TYPE_DIRECT
;
break
;
case
INTERNET_PER_CONN_PROXY_SERVER
:
if
(
unicode
)
option
->
Value
.
pszValue
=
heap_strdupW
(
pi
.
lpszProxyServer
);
option
W
->
Value
.
pszValue
=
heap_strdupW
(
pi
.
lpszProxyServer
);
else
optionA
->
Value
.
pszValue
=
heap_strdupWtoA
(
pi
.
lpszProxyServer
);
break
;
case
INTERNET_PER_CONN_PROXY_BYPASS
:
if
(
unicode
)
option
->
Value
.
pszValue
=
heap_strdupW
(
pi
.
lpszProxyBypass
);
option
W
->
Value
.
pszValue
=
heap_strdupW
(
pi
.
lpszProxyBypass
);
else
optionA
->
Value
.
pszValue
=
heap_strdupWtoA
(
pi
.
lpszProxyBypass
);
break
;
...
...
@@ -2365,12 +2365,12 @@ DWORD INET_QueryOption(object_header_t *hdr, DWORD option, void *buffer, DWORD *
case
INTERNET_PER_CONN_AUTOCONFIG_RELOAD_DELAY_MINS
:
case
INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME
:
case
INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL
:
FIXME
(
"Unhandled dwOption %d
\n
"
,
option
->
dwOption
);
memset
(
&
option
->
Value
,
0
,
sizeof
(
option
->
Value
));
FIXME
(
"Unhandled dwOption %d
\n
"
,
option
W
->
dwOption
);
memset
(
&
option
W
->
Value
,
0
,
sizeof
(
optionW
->
Value
));
break
;
default:
FIXME
(
"Unknown dwOption %d
\n
"
,
option
->
dwOption
);
FIXME
(
"Unknown dwOption %d
\n
"
,
option
W
->
dwOption
);
res
=
ERROR_INVALID_PARAMETER
;
break
;
}
...
...
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