mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
Fix theoretical compile error with HAVE_EPOLL.
Really shows how much epoll is used since it had not been reported yet. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@371893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+2
-2
@@ -986,7 +986,7 @@ __ast_channel_alloc_ap(int needqueue, int state, const char *cid_num, const char
|
||||
ast_channel_internal_fd_clear_all(tmp);
|
||||
|
||||
#ifdef HAVE_EPOLL
|
||||
ast_channel_epfd(tmp) = epoll_create(25);
|
||||
ast_channel_epfd_set(tmp, epoll_create(25));
|
||||
#endif
|
||||
|
||||
if (!(schedctx = ast_sched_context_create())) {
|
||||
@@ -1217,7 +1217,7 @@ struct ast_channel *ast_dummy_channel_alloc(void)
|
||||
ast_channel_internal_alertpipe_clear(tmp);
|
||||
ast_channel_internal_fd_clear_all(tmp);
|
||||
#ifdef HAVE_EPOLL
|
||||
ast_channel_epfd(tmp) = -1;
|
||||
ast_channel_epfd_set(tmp, -1);
|
||||
#endif
|
||||
|
||||
headp = ast_channel_varshead(tmp);
|
||||
|
||||
Reference in New Issue
Block a user