From 4675573b985b6398eadc78fae2b97baf6c86b6cc Mon Sep 17 00:00:00 2001 From: Alec L Davis Date: Mon, 20 Sep 2010 23:15:25 +0000 Subject: [PATCH] ast_channel_masquerade: remove extra else if (closes issue #17363,#16057) Reported by: amorsen;davidw,alecdavis Patches: based on bug16057.diff4.txt uploaded by alecdavis (license 585) Tested by: ramonpeek, davidw, alecdavis git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@287684 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/channel.c b/main/channel.c index 24e9f9c861..2f7a203763 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3931,10 +3931,9 @@ retrymasq: } else if (clone->masq) { ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n", clone->masq->name, clone->name); - } else if (clone->masqr) { + } else { /* (clone->masqr) */ ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n", clone->name, clone->masqr->name); - } else { } ast_channel_unlock(clone); -- 2.47.2