Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
392058f7
...
392058f7ea610ed631499a8dd3cf06041f3e5fa0
authored
2003-10-25 08:59:28 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bugfix
1 parent
d6e4eade
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
mailbox/list.c
mailbox/list.c
View file @
392058f
...
...
@@ -288,15 +288,13 @@ list_do (list_t list, list_action_t * action, void *cbdata)
status
=
iterator_create
(
&
itr
,
list
);
if
(
status
)
return
status
;
monitor_rdlock
(
list
->
monitor
);
for
(
iterator_first
(
itr
);
!
iterator_is_done
(
itr
);
iterator_next
(
itr
))
{
void
*
item
;
iterator_current
(
itr
,
&
item
);
if
((
status
=
action
(
current
->
item
,
cbdata
)))
if
((
status
=
action
(
item
,
cbdata
)))
break
;
}
monitor_unlock
(
list
->
monitor
);
iterator_destroy
(
&
itr
);
return
status
;
}
...
...
Please
register
or
sign in
to post a comment