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
06afdda6
Commit
06afdda6
authored
Oct 30, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 31, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Simplify while loop conditions (PVS-Studio).
parent
7f295eff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
http.c
dlls/wininet/http.c
+3
-3
No files found.
dlls/wininet/http.c
View file @
06afdda6
...
...
@@ -809,7 +809,7 @@ static void strip_spaces(LPWSTR start)
LPWSTR
str
=
start
;
LPWSTR
end
;
while
(
*
str
==
' '
&&
*
str
!=
'\0'
)
while
(
*
str
==
' '
)
str
++
;
if
(
str
!=
start
)
...
...
@@ -841,13 +841,13 @@ static inline BOOL is_basic_auth_value( LPCWSTR pszAuthValue, LPWSTR *pszRealm )
if
(
!
token
)
return
TRUE
;
realm
=
ptr
;
while
(
*
realm
==
' '
&&
*
realm
!=
'\0'
)
while
(
*
realm
==
' '
)
realm
++
;
if
(
!
strncmpiW
(
realm
,
szRealm
,
ARRAYSIZE
(
szRealm
))
&&
(
realm
[
ARRAYSIZE
(
szRealm
)]
==
' '
||
realm
[
ARRAYSIZE
(
szRealm
)]
==
'='
))
{
token
++
;
while
(
*
token
==
' '
&&
*
token
!=
'\0'
)
while
(
*
token
==
' '
)
token
++
;
if
(
*
token
==
'\0'
)
return
TRUE
;
...
...
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