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
de5d147d
Commit
de5d147d
authored
Mar 27, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by:
Paul Gofman
<
gofmanp@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d7332c22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ftp.c
dlls/wininet/ftp.c
+1
-1
internet.c
dlls/wininet/internet.c
+1
-1
No files found.
dlls/wininet/ftp.c
View file @
de5d147d
...
...
@@ -3745,7 +3745,7 @@ static BOOL FTP_ParseNextFile(INT nSocket, LPCWSTR lpszSearchFile, LPFILEPROPERT
pszToken
=
strtok
(
NULL
,
szSpace
);
if
(
!
pszToken
)
continue
;
if
(
!
_strnicmp
(
pszToken
,
"<DIR>"
,
-
1
))
{
if
(
!
stricmp
(
pszToken
,
"<DIR>"
))
{
lpfp
->
bIsDirectory
=
TRUE
;
lpfp
->
nSize
=
0
;
TRACE
(
"Is directory
\n
"
);
...
...
dlls/wininet/internet.c
View file @
de5d147d
...
...
@@ -2371,7 +2371,7 @@ static BOOL is_domain_suffix( const char *domain, const char *suffix )
int
len_domain
=
strlen
(
domain
),
len_suffix
=
strlen
(
suffix
);
if
(
len_suffix
>
len_domain
)
return
FALSE
;
if
(
!
_strnicmp
(
domain
+
len_domain
-
len_suffix
,
suffix
,
-
1
))
return
TRUE
;
if
(
!
stricmp
(
domain
+
len_domain
-
len_suffix
,
suffix
))
return
TRUE
;
return
FALSE
;
}
...
...
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