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
f7322187
Commit
f7322187
authored
Aug 16, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Remove duplicated check (PVS-Studio).
parent
2ee84d5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
sec_mgr.c
dlls/urlmon/sec_mgr.c
+3
-5
No files found.
dlls/urlmon/sec_mgr.c
View file @
f7322187
...
...
@@ -241,11 +241,9 @@ static BOOL matches_domain_pattern(LPCWSTR pattern, LPCWSTR str, BOOL implicit_w
*
* Doesn't match the pattern.
*/
if
(
str_len
>
pattern_len
)
{
if
(
str
[
str_len
-
pattern_len
-
1
]
==
'.'
&&
!
strcmpiW
(
str
+
(
str_len
-
pattern_len
),
pattern
))
{
matches
=
TRUE
;
*
matched
=
str
+
(
str_len
-
pattern_len
);
}
if
(
str
[
str_len
-
pattern_len
-
1
]
==
'.'
&&
!
strcmpiW
(
str
+
(
str_len
-
pattern_len
),
pattern
))
{
matches
=
TRUE
;
*
matched
=
str
+
(
str_len
-
pattern_len
);
}
}
else
{
/* The pattern doesn't have an implicit wildcard, or an explicit wildcard,
...
...
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