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
a5c2c63a
...
a5c2c63a626be82bcec512b4d945af4fbcf29c19
authored
2005-08-11 07:45:22 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(list_to_array): Bugfix. The counter was not incremented.
1 parent
c9927023
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/list.c
mailbox/list.c
View file @
a5c2c63
...
...
@@ -376,7 +376,7 @@ list_to_array (list_t list, void **array, size_t count, size_t *pcount)
for
(
i
=
0
,
current
=
list
->
head
.
next
;
i
<
total
&&
current
!=
&
(
list
->
head
);
current
=
current
->
next
)
array
[
i
]
=
current
->
item
;
array
[
i
++
]
=
current
->
item
;
}
if
(
pcount
)
*
pcount
=
total
;
...
...
Please
register
or
sign in
to post a comment