mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Opaquify ast_channel typedefs, fd arrays, and softhangup flag
Review: https://reviewboard.asterisk.org/r/1784/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5547,8 +5547,8 @@ static enum ast_bridge_result iax2_bridge(struct ast_channel *c0, struct ast_cha
|
||||
if (ast_tvzero(waittimer)) {
|
||||
waittimer = now;
|
||||
} else if (now.tv_sec - waittimer.tv_sec > IAX_LINGER_TIMEOUT) {
|
||||
c0->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
c1->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
ast_channel_softhangup_internal_flag_add(c0, AST_SOFTHANGUP_DEV);
|
||||
ast_channel_softhangup_internal_flag_add(c1, AST_SOFTHANGUP_DEV);
|
||||
*fo = NULL;
|
||||
*rc = c0;
|
||||
res = AST_BRIDGE_COMPLETE;
|
||||
|
Reference in New Issue
Block a user