projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe83f51
)
Instead of iterating through the entire epoll events array just look at the ones...
author
Joshua Colp
<jcolp@digium.com>
Thu, 6 Dec 2007 04:37:36 +0000
(
04:37
+0000)
committer
Joshua Colp
<jcolp@digium.com>
Thu, 6 Dec 2007 04:37:36 +0000
(
04:37
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91328
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/channel.c
patch
|
blob
|
history
diff --git
a/main/channel.c
b/main/channel.c
index
bb3eb35
..
769df5c
100644
(file)
--- a/
main/channel.c
+++ b/
main/channel.c
@@
-1912,7
+1912,7
@@
static struct ast_channel *ast_waitfor_nandfds_complex(struct ast_channel **c, i
return winner;
}
- for (i = 0; i < 25; i++) {
+ for (i = 0; i < res; i++) {
struct ast_epoll_data *aed = ev[i].data.ptr;
if (!ev[i].events || !aed)