mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Merged revisions 145579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r145579 | mmichelson | 2008-10-01 16:33:11 -0500 (Wed, 01 Oct 2008) | 4 lines if (!(x) == 0) is the same as if (x). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@145581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2193,7 +2193,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
|
||||
ast_copy_string(chan->exten, "h", sizeof(chan->exten));
|
||||
chan->priority = 1;
|
||||
ast_channel_unlock(chan);
|
||||
while (!(res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num, &found, 1)) == 0) {
|
||||
while ((res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num, &found, 1))) {
|
||||
chan->priority++;
|
||||
}
|
||||
if (found && res)
|
||||
|
||||
Reference in New Issue
Block a user