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
666a472f
Commit
666a472f
authored
Feb 06, 2024
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Set ProxyOverride registry key when saving proxy information.
parent
17d8cb24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
internet.c
dlls/wininet/internet.c
+18
-0
No files found.
dlls/wininet/internet.c
View file @
666a472f
...
...
@@ -358,6 +358,24 @@ static LONG INTERNET_SaveProxySettings( proxyinfo_t *lpwpi )
}
}
if
(
lpwpi
->
proxyBypass
)
{
if
((
ret
=
RegSetValueExW
(
key
,
L"ProxyOverride"
,
0
,
REG_SZ
,
(
BYTE
*
)
lpwpi
->
proxyBypass
,
sizeof
(
WCHAR
)
*
(
lstrlenW
(
lpwpi
->
proxyBypass
)
+
1
))))
{
RegCloseKey
(
key
);
return
ret
;
}
}
else
{
if
((
ret
=
RegDeleteValueW
(
key
,
L"ProxyOverride"
))
&&
ret
!=
ERROR_FILE_NOT_FOUND
)
{
RegCloseKey
(
key
);
return
ret
;
}
}
RegCloseKey
(
key
);
return
ERROR_SUCCESS
;
}
...
...
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