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
173b2c5b
Commit
173b2c5b
authored
Jan 14, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Jan 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use LIST_FOR_EACH_SAFE in a loop where we can delete an entry.
parent
e5b2a222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cookie.c
dlls/wininet/cookie.c
+2
-2
No files found.
dlls/wininet/cookie.c
View file @
173b2c5b
...
...
@@ -302,11 +302,11 @@ BOOL WINAPI InternetGetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName,
cookie_domain
*
cookiesDomain
=
LIST_ENTRY
(
cursor
,
cookie_domain
,
entry
);
if
(
COOKIE_matchDomain
(
hostName
,
path
,
cookiesDomain
,
TRUE
))
{
struct
list
*
cursor
;
struct
list
*
cursor
,
*
cursor2
;
domain_count
++
;
TRACE
(
"found domain %p
\n
"
,
cookiesDomain
);
LIST_FOR_EACH
(
cursor
,
&
cookiesDomain
->
cookie_list
)
LIST_FOR_EACH
_SAFE
(
cursor
,
cursor2
,
&
cookiesDomain
->
cookie_list
)
{
cookie
*
thisCookie
=
LIST_ENTRY
(
cursor
,
cookie
,
entry
);
/* check for expiry */
...
...
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