summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-10-01 21:33:11 +0000
committerMark Michelson <mmichelson@digium.com>2008-10-01 21:33:11 +0000
commite6799e1c99ae7fe7865541cd89766483d49de3e0 (patch)
treea1a6b2754fba0d51f48f560151869ab668cfd4e6 /main
parenta23b8c91589790b773e044963efe82db9a95dc7b (diff)
if (!(x) == 0) is the same as
if (x). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index e65c51904..2ff178e5a 100644
--- a/main/features.c
+++ b/main/features.c
@@ -2379,7 +2379,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)