projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a46bbe
)
unbreak pa_idxset_rrobin
author
Lennart Poettering
<lennart@poettering.net>
Mon, 8 Sep 2008 23:14:27 +0000
(
02:14
+0300)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 8 Sep 2008 23:14:27 +0000
(
02:14
+0300)
src/pulsecore/idxset.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/idxset.c
b/src/pulsecore/idxset.c
index
b6423ef
..
2de6406
100644
(file)
--- a/
src/pulsecore/idxset.c
+++ b/
src/pulsecore/idxset.c
@@
-318,8
+318,7
@@
void* pa_idxset_rrobin(pa_idxset *s, uint32_t *idx) {
hash = *idx % NBUCKETS;
- if (!(e = index_scan(s, hash, *idx)))
- return NULL;
+ e = index_scan(s, hash, *idx);
if (e && e->iterate_next)
e = e->iterate_next;