diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-01 21:33:55 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-01 21:33:55 +0000 |
commit | ca4afcdc220a3ec071b4a29c42bb67b151512ba3 (patch) | |
tree | c74bcb3a7cebee9d077b4f1fa75e3074e1bb4ded /main/features.c | |
parent | 23437497cf138a3cdef9277facc2abbc4343a54e (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@145581 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c index 7ff0ecc85..166b24ec3 100644 --- a/main/features.c +++ b/main/features.c @@ -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) |