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:
0d2ee30
)
Don't swap channel priority if using epoll as polling should/will only happen off...
author
Joshua Colp
<jcolp@digium.com>
Tue, 2 Oct 2007 13:58:19 +0000
(13:58 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Tue, 2 Oct 2007 13:58:19 +0000
(13:58 +0000)
(closes issue #10867)
Reported by: phsultan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84368
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/rtp.c
patch
|
blob
|
history
diff --git
a/main/rtp.c
b/main/rtp.c
index
10173ae
..
2118524
100644
(file)
--- a/
main/rtp.c
+++ b/
main/rtp.c
@@
-3586,9
+3586,11
@@
static enum ast_bridge_result bridge_p2p_loop(struct ast_channel *c0, struct ast
ast_frfree(fr);
}
/* Swap priority */
+#ifndef HAVE_EPOLL
cs[2] = cs[0];
cs[0] = cs[1];
cs[1] = cs[2];
+#endif
}
/* If we are totally avoiding the core, then restore our link to it */